Zachary Rice
5d3f247d7d
Update README.md
2022-06-16 08:11:20 -05:00
Zachary Rice
404dd8e0c0
Update gitleaks.yml
2022-06-15 17:20:08 -05:00
Zachary Rice
3a1ab48818
Update README.md
2022-06-12 13:25:03 -05:00
Zachary Rice
f5c2b636f3
user accounts don't need gitleaks license
2022-06-07 11:48:43 -05:00
Zachary Rice
b5ed7ff1b2
Update README.md
2022-06-02 17:47:36 -05:00
Zachary Rice
09007da395
Add gitleaks badge
2022-06-02 17:46:47 -05:00
Zachary Rice
d51ce47d86
Create gitleaks.yml ( #884 )
2022-06-02 17:40:57 -05:00
Zachary Rice
6919447094
add link to gitleaks.io
2022-06-02 17:21:08 -05:00
Zachary Rice
82e409a434
Limit newlines regex ( #881 )
...
* improve regex to reduce fps with newlines
* remove version from regex and rely on stopwords instead
* add false positive for validation
2022-05-30 12:07:06 -05:00
Zachary Rice
e9ebde73bc
ignore end line when comparing generic rules ( #879 )
2022-05-28 09:49:27 -05:00
Zachary Rice
469cd22f61
updating generic regex and algoia regex ( #875 )
2022-05-25 08:00:10 -05:00
Zachary Rice
d6c0de7c85
Update README.md
2022-05-16 19:08:06 -05:00
Zachary Rice
0266ab8958
Adding JIT Security messages
2022-05-10 11:21:04 -05:00
Zachary Rice
6b7ab73a52
Update README.md
2022-05-02 10:21:40 -05:00
Zachary Rice
61ee7c58cc
fix no-git bug ( #859 )
2022-04-27 21:48:56 -05:00
Zachary Rice
ad7509e3b4
Removing private keyword from private key rule ( #858 )
2022-04-27 07:29:09 -05:00
Zachary Rice
a62cc52aba
nasty little bug ( #853 )
2022-04-23 11:18:56 -05:00
Zachary Rice
f93e5dc844
adding a ton of stopwords to the generic rule only as that is the loudest rule ( #851 )
2022-04-21 17:01:21 -05:00
Zachary Rice
8481f0e9cd
adding stopwords ( #849 )
...
* adding stopwords
* format readme, update default config
2022-04-21 08:31:58 -05:00
Zachary Rice
82f7d61593
Update dockerfile ( #848 )
...
* bump alpine and add default safe dir for git
* comment out safe dir fix
* update deps
2022-04-20 18:19:33 -05:00
Zachary Rice
a42b32bdf1
fix EOL in secret suffix ( #847 )
...
* fix EOL in secret suffix
* allow quoted key value syntax
2022-04-20 17:55:07 -05:00
Zachary Rice
3474c58c9e
Generate tps ( #845 )
...
* WIP
* simplify tp generation
2022-04-18 21:59:38 -05:00
Zachary Rice
d8cd93cabe
maybe fix out of bounds ( #843 )
2022-04-18 14:57:40 -05:00
Zachary Rice
48b79facfa
optimize keywords ( #841 )
...
* optimize keywords
* use defaults for concurrency again
2022-04-16 17:41:40 -05:00
Zachary Rice
606bb1a13b
Standardize/alphabetize rules, add cmd/generate/config package ( #840 )
2022-04-12 21:40:48 -05:00
Zachary Rice
c33ee3f252
normalize keyword check ( #830 )
2022-04-06 09:55:36 -05:00
Zachary Rice
b0a958f55e
Keyword ( #825 )
...
* wip keywords optimization
* update readme
* limit concurrency to 4
* update readme
2022-04-05 11:50:50 -05:00
Zach Rice
f348991d21
Merge branch 'master' of github.com:zricethezav/gitleaks
2022-03-29 11:54:05 -05:00
Zach Rice
e0745adbd2
skip content checks for path only rules
2022-03-29 11:53:48 -05:00
Zach Rice
0b07625567
remove stopwords from global allowlist
2022-03-28 08:03:16 -05:00
Zachary Rice
ba9e089e35
fixing a location off by one edge case for --no-git ( #812 )
2022-03-22 14:22:46 -05:00
Zachary Rice
31ff8677dd
Update README.md
2022-03-21 13:36:29 -05:00
Zachary Rice
3e5e63956e
Allow tag ( #809 )
...
* gitleaks:allow signature
* readd all tests
* fixing tests
2022-03-19 10:32:04 -05:00
Zachary Rice
57f9bc83d1
Stop words ( #808 )
...
* use regex for stopwords
* fix up regex
* rm stopwords
2022-03-19 09:31:38 -05:00
Zachary Rice
6e72472b60
Refactor detect, add entropy to all findings ( #804 )
...
Refactor `detect`, add `entropy` to all findings
2022-03-12 11:50:01 -06:00
Zachary Rice
fbfb3f591e
allow non-last-element secret groups ( #792 )
2022-02-22 16:34:56 -06:00
Zachary Rice
b91799aa18
fixing segfault when using a rule with only a path ( #791 )
...
* fixing segfault when using a rule with only a path
* DRYing
2022-02-22 15:58:03 -06:00
Zach Rice
44d7d89e19
always write sarif results
2021-12-28 19:13:26 -06:00
Zachary Rice
aae23acff3
limit goroutines on file scanning to avoid pegging them cores ( #759 )
2021-12-21 18:10:29 -06:00
Zachary Rice
705595aaf6
Adding Typeform to sponsorships
2021-12-21 08:26:47 -06:00
Zachary Rice
43ec22429f
write a report regardless if leaks are present ( #758 )
2021-12-17 17:26:14 -06:00
Zachary Rice
36779df3bb
stricter ionic regex for less fps ( #757 )
2021-12-17 10:13:44 -06:00
Zachary Rice
3d3d801729
fixing eof location bug ( #756 )
2021-12-17 09:49:12 -06:00
Zachary Rice
0f2ffee6f9
Adding Tines sponsorship to readme
2021-12-16 10:39:45 -06:00
Zachary Rice
be5596df1d
Update README.md
2021-12-12 13:38:43 -06:00
Zachary Rice
e97f26bb5f
better asciinema
2021-12-12 13:36:57 -06:00
Zachary Rice
ae13c96df8
Update README.md
2021-12-12 13:19:58 -06:00
Zachary Rice
d15dfdc387
Update README.md
2021-12-12 13:19:06 -06:00
Zach Rice
631d8dcf03
bump go-gitdiff
2021-12-12 12:23:59 -06:00
Zachary Rice
192b96289f
do not fail on git rename warning ( #750 )
2021-12-12 11:43:03 -06:00
Zachary Rice
b8141713e8
add pre-commit instructions ( #749 )
2021-12-10 18:08:31 -06:00
Zachary Rice
3fedf6f8e7
remove writing default config, introduce GITLEAKS_CONFIG ( #746 )
...
* remove writing default config, introduce GITLEAKS_CONFIG
* setting report format default to json, update readme
2021-12-09 09:21:17 -06:00
Zach Rice
6f6ebd454f
fix off by one line number for --no-git
2021-12-08 15:04:32 -06:00
Zachary Rice
ce42947cae
fix deduplication issue caused by clobbered findings ( #742 )
...
* fix deduplication issue caused by clobbered findings
* fix index
* remove indexing, slow is better than wrong
2021-12-07 19:11:37 -06:00
Zach Rice
84e285e4ce
ignore gitleaks.toml by default
2021-12-06 10:43:21 -06:00
Zachary Rice
98d5648f6e
introducing secretGroup, the best group ( #734 )
...
* working on deduping
* my eyes... oh god my poor eyes
* more readme
* more readme
* more readme
* more readme and formatting
2021-12-02 20:04:36 -06:00
zricethezav
9358e84588
fix typo in readme
2021-12-02 13:55:43 -06:00
zricethezav
958c18f0b7
fix typo in config help
2021-12-02 13:44:39 -06:00
Zachary Rice
089639e9fb
bump go-gitdiff ( #731 )
2021-12-02 08:29:38 -06:00
Zachary Rice
85afd767f7
Update README.md
2021-12-01 18:38:22 -06:00
Zachary Rice
38006fb93b
Update README.md
2021-11-30 14:31:08 -06:00
Zachary Rice
9ae1def963
lil hack to avoid scans 'finishing' when git errors are present ( #726 )
2021-11-30 12:31:25 -06:00
Zachary Rice
6517900e5a
Update README.md
2021-11-30 12:24:10 -06:00
Zachary Rice
5e51da600b
use exit code 126 on 'unknown-flag' errors ( #723 )
2021-11-30 09:47:00 -06:00
Zachary Rice
f0b8d26c99
Update README.md
2021-11-27 10:40:00 -06:00
Zachary Rice
1724591029
remove generic api key from default gitleaks config ( #719 )
2021-11-27 10:01:52 -06:00
Zachary Rice
80d29764a0
add global regex check ( #717 )
2021-11-25 11:17:03 -06:00
Zachary Rice
f498b1d308
Commit debug log ( #716 )
...
* adding debug log for number of commits scanned
* change debug text
* readd commitsha
2021-11-25 10:46:47 -06:00
Zachary Rice
4acd7a3c8d
adding logic to ignore gitleaks config during scans ( #710 )
2021-11-24 20:27:19 -06:00
zricethezav
a37822dffd
remove --show-pulls from git log
2021-11-24 08:06:13 -06:00
Zachary Rice
1c6b28aa61
removing --simplify-merges and --show-pulls ( #707 )
2021-11-24 07:30:59 -06:00
Zachary Rice
f15b4e408b
Update README.md
2021-11-22 14:25:42 -06:00
Zachary Rice
d5f9d2b5d2
Update README.md
2021-11-22 14:25:06 -06:00
zricethezav
67a7069bb8
trying again
2021-11-22 12:15:31 -06:00
zricethezav
fd5d786538
override version in goreleaser
2021-11-22 12:11:02 -06:00
zricethezav
c017b763f3
actually we gonna use git describe for docker build
2021-11-22 11:46:24 -06:00
zricethezav
e796458763
remove sorting tags
2021-11-22 11:29:31 -06:00
zricethezav
2a9fbbc64d
remove git fetch tag from docker build process, already available
2021-11-22 11:21:55 -06:00
zricethezav
d6081d0cc4
actually use github.actor
2021-11-22 11:09:08 -06:00
zricethezav
e6c3a495ce
hardcode username to avoid redaction in action
2021-11-22 11:07:40 -06:00
Zachary Rice
93f292c3df
Introducing v8.0.0 changes ( #701 )
...
* Introducing v8.0.0 changes
2021-11-22 10:43:51 -06:00
Zachary Rice
6adc045580
Simplify tests and continue on object not found errors ( #633 )
...
* adding files
* init better tests
* add basic .git
* more tests and test data
* nogit, unstaged tests
* removing unused testdata
* adding empty testdata
* rm gitmodules
* fixing tests
* remove with config
* adding with_config
* removing old test_data, updating config tests
* removing hooks in testdata repos
2021-09-09 11:46:31 -05:00
Zachary Rice
8b9092a248
Create README.md
2021-09-07 15:29:56 -05:00
Zachary Rice
541e26b067
Update FUNDING.yml
2021-09-06 16:51:38 -05:00
Zachary Rice
ca987b3842
Update README.md
2021-09-04 19:27:44 -05:00
Zachary Rice
6ddf27c5c3
Fix premature exit for nogit scans, limit goroutines ( #619 )
...
* fix premature exit on nogit scan, actually limit concurreny for nogit
* removing files scanned log
2021-09-03 19:32:33 -05:00
Zachary Rice
aadd9387b2
Create maintenance.md
2021-09-03 11:01:05 -05:00
Zachary Rice
0fd68c901d
GitHub test ( #617 )
...
* drop travis
* remove travis
* rename, use example
* typo
* different syntax
* rename to test
* split test and build into two jobs
* add gosec job
* drop gosec for now
2021-09-03 08:41:17 -05:00
zricethezav
17a3943afe
bump golang docker version
2021-09-02 14:44:58 -05:00
Zachary Rice
abc73e2443
use embed pkg for default config, update deps ( #616 )
2021-09-02 14:42:14 -05:00
Zachary Rice
3c1751e5c4
Update alpine, use gitleaks user instead of root ( #615 )
...
* Updating alpine, use gitleaks user instead of root
* remove comments
2021-09-02 10:21:22 -05:00
Zachary Rice
9324184c24
Update README.md
2021-08-13 08:29:42 -05:00
Zachary Rice
a80ce0d251
Update README.md
2021-07-29 17:40:34 -05:00
Zachary Rice
9ab424172d
Update README.md
2021-05-05 09:22:56 -04:00
zricethezav
28fd47e170
Bump version for pre-commit
2021-05-05 09:10:47 -04:00
Zachary Rice
12d276acd7
Bug 553 global allowlist ( #554 )
...
* add global file check
* rm whitespace
2021-04-22 18:07:07 -04:00
Zachary Rice
6f5ad9dc0b
Update README.md
2021-04-12 11:07:28 -04:00
Zachary Rice
a2019a4782
Update README.md
2021-04-09 14:21:15 -04:00
zricethezav
5d7b7718ec
splitting out github rules and retabbing
2021-04-09 14:07:23 -04:00
Zachary Rice
190877a24b
Pypi GitHub rules ( #546 )
...
* adding pypi and basic azure rules
* Adding new github format
2021-04-08 16:34:08 -04:00