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
Zachary Rice
d353ac5108
Update README.md
2021-04-06 14:42:44 -04:00
Zachary Rice
a27a08904a
Update README.md
2021-03-05 16:40:07 -05:00
Zachary Rice
5ef4e336ce
Update README.md
2021-03-05 16:39:23 -05:00
zricethezav
78f2c46517
Consistency in options
2021-03-05 16:19:24 -05:00
Zachary Rice
6e4e9df55f
stricter regex for github token ( #535 )
2021-03-05 16:10:04 -05:00
Zachary Rice
b3bed5658d
adding recover for patch generation ( #534 )
2021-03-05 16:00:41 -05:00
Zachary Rice
a8dbc7f107
Update README.md
2021-02-25 16:33:24 -05:00
Zachary Rice
3932ed6baf
--no-git should report relative path to --path ( #519 )
2021-02-03 13:48:59 -05:00
Zachary Rice
981b636920
gitter chat
2021-02-02 17:27:24 -05:00
Zachary Rice
901f932a89
Add file type checking for unstaged commits ( #512 )
2021-01-22 11:49:21 -05:00
Zachary Rice
1c6f2252b8
Update README.md
2020-12-11 20:55:32 -05:00
Zachary Rice and Zach Rice
58d130c5f3
Quiet flag ( #491 )
...
* Adding a quiet option
* better description
Co-authored-by: Zach Rice <zrice@gitlab.com >
2020-12-11 09:56:09 -05:00
Zachary Rice
091ea81e68
nosec gosec ( #490 )
2020-12-10 22:32:32 -05:00
Zachary Rice
f036dce6ab
Dotgit bug ( #488 )
...
* fix allowlist bug
* Adding new repo for testing allowlisting
* adding additional constraints on the dotgit regex
2020-12-10 17:41:26 -05:00
Zachary Rice
2d58f1f94e
Files at commit allow list bug ( #485 )
...
* fix allowlist bug
* Adding new repo for testing allowlisting
* Adding missing allowlist checks for commits and files/paths
2020-12-09 15:55:01 -05:00
Zachary Rice
86cfe0848b
Allow list bugs ( #484 )
...
* fix allowlist bug
2020-12-09 13:21:15 -05:00
Zachary Rice
973d74e592
Update README.md
2020-12-08 20:55:53 -05:00
Zachary Rice
3909ebe03b
Exit code update, introduce leaks-exit-code flag ( #481 )
2020-12-08 17:41:02 -05:00
Zachary Rice
65f42020af
Go repo scan ( #480 )
...
* Real fast
* Addressing some golint stuff
2020-12-08 17:22:28 -05:00
Zachary Rice
65a91ae976
Removing base scanner ( #477 )
2020-12-08 09:24:38 -05:00
Zachary Rice
7db08bfd90
Bugs v7 ( #475 )
...
* fixing some v7 bugs
2020-12-05 11:57:43 -05:00
Zachary Rice
d5e431e7d4
Update README.md
2020-12-03 17:20:46 -05:00
Zachary Rice
54ba3ec377
Update README.md
2020-12-03 17:09:59 -05:00
Zachary Rice
656ef1c9a7
Update README.md
2020-12-03 16:56:16 -05:00
zricethezav
b8accd7273
rm unimplemented cleanpath option
2020-12-03 15:43:06 -05:00
zricethezav
238c31beaa
Merge branch 'master' of github.com:zricethezav/gitleaks into master
2020-12-03 10:08:41 -05:00
Zachary Rice
eb31190f31
Removing limiting line/offender length ( #470 )
2020-12-03 09:32:57 -05:00
zricethezav
389d45e380
Removing limiting line/offender length
2020-12-03 09:28:30 -05:00
zricethezav
81b3a6e279
Update readme
2020-12-02 17:11:47 -05:00
Zachary Rice
c50906373c
update to V7 ( #469 )
2020-12-02 17:07:31 -05:00
Zachary Rice
40545fb680
Need to include offender in line extraction memoization ( #466 )
2020-11-21 15:49:59 -05:00
zricethezav
ede68fd95d
fix off by one
2020-09-02 08:36:19 -04:00
Zachary Rice
6c60c3dde3
Adding some logic to fix line number extractor when there are multipl… ( #436 )
...
* Adding some logic to fix line number extractor when there are multiple secrets of the same offender within the same patch
* formatting some consts
2020-09-01 20:48:43 -04:00
Zachary Rice
ad505754fc
Add commits and commits-file option ( #433 )
2020-08-31 10:29:04 -04:00
Zachary Rice
21d81879e2
Update README.md
2020-08-27 14:11:11 -04:00