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
Zachary Rice
ef4655fcf1
Sarif ( #421 )
...
* init
* more work
* more sarif work
* mergin
2020-08-12 18:07:24 -04:00
Zachary Rice
01b553a75d
Update Makefile
2020-08-12 17:51:56 -04:00
Zachary Rice
fae366a404
Global allowlist regex ( #422 )
...
* work in progress
* Update test configs
* adding test
* golint and change to allowlist
* fix race condition, this mistakenly got committed
* Updating tests and examples
* bump to v6 as this is a breaking change to the config
* More consistent variables
2020-08-12 17:18:25 -04:00
Zachary Rice
eabc7b5c12
Fixing merge commit scans and large patch rule checking ( #414 )
...
* Fixing merge commit scans and large patch rule checking
* Adding tests for merge request scans
2020-07-25 14:55:59 -04:00
zricethezav
1dc7569f95
removing extra log import...
2020-07-24 14:42:54 -04:00
zricethezav
1797e9c966
Merge branch 'master' of github.com:zricethezav/gitleaks
2020-07-24 14:07:25 -04:00
zricethezav
e2eaceb4cd
rm bad example config
2020-07-24 14:07:00 -04:00
Zachary Rice
c637b129ec
Validate config ( #412 )
...
* validate config
* fix import fmt
* cleaning
2020-07-24 14:02:48 -04:00
zricethezav
8470e43d7f
validate config
2020-07-24 13:54:01 -04:00
Zachary Rice
94f5950d68
Use allowlist ( #411 )
2020-07-24 11:58:43 -04:00
Zachary Rice
fe69a17c9c
Change remaining audits to scan ( #410 )
2020-07-24 11:30:33 -04:00
Zachary Rice
6ca7a11d88
Add line number to report plus some other things ( #409 )
...
* Init refactor
* think i got it working
* we got em
* Updating tests
* fixing tests
* Better comments, more test fixing
* Bumping to v5
* Fixing golint messages
* Replacing usage of audit with scan in comments
* bumping go-git
* Updating to v5 in some other spots
2020-07-24 10:49:03 -04:00
Zachary Rice
cfbb600fcb
Fixing patch direction and making additions the default ( #408 )
...
* Fixing patch direction and making additions the default
* adding test
2020-07-22 13:32:46 -04:00
Zachary Rice
e36b550851
adding go mod/sum to ignore, adding quotes to aws secret rule ( #397 )
...
* adding go mod/sum to ignore, adding quotes to aws secret rule
* lil nicer formatting
2020-06-14 15:41:04 -04:00
zricethezav
2232dc191c
removing bad options guard
2020-06-03 08:51:11 -04:00
Zachary Rice
bdc688dd53
fix whitelist commits, added test ( #390 )
2020-05-31 10:25:58 -04:00
Zachary Rice
3e88ac6726
Update README.md
2020-05-20 15:48:53 -04:00
zricethezav
0d7c18cb39
fixing whitelist repo tests
2020-05-09 11:37:08 -04:00
zricethezav
d0e98416b9
Merge branch 'master' of github.com:zricethezav/gitleaks
2020-05-09 11:24:06 -04:00
Zachary Rice
b7438011b4
Rm generic from default ( #379 )
...
* fixing commit latest bug
* remove generic rule from default to reduce false positives
2020-05-09 11:21:17 -04:00
zricethezav
4e59d3bf19
Merge branch 'master' of github.com:zricethezav/gitleaks
2020-05-09 10:54:35 -04:00
Zachary Rice
473d0d55a7
Whitelist repo ( #378 )
...
* fixing commit latest bug
* bumping go-git and adding repo whitelist
* adding tests
2020-05-09 10:38:02 -04:00
Zachary Rice
8bd4649b01
Update leaky-repo.toml
2020-05-09 08:53:43 -04:00
zricethezav
a69df84325
Merge branch 'master' of github.com:zricethezav/gitleaks
2020-05-09 08:51:58 -04:00
Zachary Rice
a728e3abf3
Documentation upgrade ( #374 )
...
* fixing commit latest bug
* updating readme
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
2020-04-28 17:43:01 -04:00
zricethezav
e87c62fe72
Merge branch 'master' of github.com:zricethezav/gitleaks
2020-04-23 11:23:46 -04:00
Zachary Rice
4801818e3d
fixing commit latest bug ( #365 )
2020-04-05 11:36:37 -04:00
zricethezav
b4a0577786
fixing commit latest bug
2020-04-05 11:31:22 -04:00
Zachary Rice
212232f80a
Empty repo audit ( #364 )
...
* bump to go 1.14 and alpine to 3.11
* audit before commit
* adding test
* rm hooks in test repo
2020-04-05 11:18:33 -04:00
Zachary Rice
11dcb44e41
bump to go 1.14 and alpine to 3.11 ( #363 )
2020-04-05 09:38:27 -04:00
Zachary Rice
9db91442b3
ignoring config when using custom config ( #362 )
2020-04-04 14:49:54 -04:00
Zachary Rice
9d76070806
Update README.md
2020-03-25 11:22:32 -04:00
Zachary Rice
2fa580f1bb
fix the empty repo org scan error ( #358 )
2020-03-20 22:44:17 -04:00
Zachary Rice
779937ca87
Update README.md
2020-03-06 18:59:03 -05:00
Zachary Rice
731856e974
Update README.md
2020-03-06 18:55:24 -05:00
Zachary Rice
baf54631c7
Update README.md
2020-03-06 18:43:40 -05:00
zricethezav
3e760d7fed
updating help message
2020-03-02 20:24:22 -05:00
Zachary Rice
dae5c142d7
Fix host clone auth ( #350 )
...
* trying auth fix
* fixing github private user auth and donate msg
* formatting
* go fmt...
2020-02-29 13:30:08 -05:00
Zachary Rice
8e8873286e
Update leaky-repo.toml
2020-02-29 13:19:55 -05:00
Zachary Rice
6693cbdde3
Update README.md
2020-02-27 09:29:52 -05:00
Zachary Rice
8b3ce2cb1e
forgot to bump in code... ( #347 )
2020-02-26 20:41:54 -05:00
Zachary Rice
94cae90d1e
duplicate leak logic includes the line in hash ( #345 )
2020-02-26 17:38:16 -05:00
Zachary Rice
581e81c16e
Update README.md
2020-02-25 17:39:41 -05:00
Zachary Rice
6c166c9530
Update README.md
2020-02-25 17:32:40 -05:00
Zachary Rice
4181ede6cd
Update FUNDING.yml
2020-02-25 11:55:18 -05:00
Zachary Rice
10745be661
fixing commit counts ( #342 )
...
* fixing commit counts
* fixing commit to test
2020-02-25 10:28:03 -05:00
zricethezav
e7fbcf5333
updating readme and comments
2020-02-01 16:48:05 -05:00
Zachary Rice
2810eccc82
Merge pull request #329 from zricethezav/bug/commit-scan
...
Bug/commit scan
2020-02-01 11:38:02 -05:00
zricethezav
baff419091
removing hooks
2020-02-01 11:23:11 -05:00
zricethezav
d13e0fdfde
adding more tests
2020-02-01 11:18:27 -05:00
zricethezav
5a300c3c64
fixing --commit bug, adding --files-at-commit option
2020-01-30 20:08:01 -05:00
Zachary Rice
d8ddb9630a
Merge pull request #327 from zricethezav/bug/timeoutcancel
...
Adding timeout check in context select so we dont log erroneously
2020-01-24 18:16:59 -05:00
zricethezav
1537eeb5fa
Adding timeout check in context select so we dont log erroneously
2020-01-24 18:07:16 -05:00
Zachary Rice
1a492537dd
Merge pull request #325 from zricethezav/bug/timeoutcancel
...
defer cancel in audit
2020-01-23 18:52:56 -05:00
zricethezav
bd4107b002
ensuring cancel is called after audit is complete so context can be dropped
2020-01-23 18:47:37 -05:00
Zachary Rice
6eab8a7a0a
Update README.md
2020-01-22 20:00:27 -05:00
Zachary Rice
c6d14e5b7d
Merge pull request #323 from zricethezav/bug/fix-go-module
...
fixing modules, adding v3 in path
2020-01-22 18:10:23 -05:00
zricethezav
ce95cafd54
fixing modules, adding v3 in path
2020-01-22 10:21:00 -05:00
Zachary Rice
4024faceab
Merge pull request #322 from zricethezav/exclude-forks
...
exclude-forks gitlab and github
2020-01-19 12:41:07 -05:00
zricethezav
1afa931248
exclude-forks gitlab and github
2020-01-19 12:35:52 -05:00
Zachary Rice
2474c39311
Merge pull request #321 from zricethezav/depth
...
reimplementing depth feature
2020-01-19 12:17:42 -05:00
zricethezav
f6460a7365
reimplementing depth feature
2020-01-19 12:14:14 -05:00
Zachary Rice
b47e00858e
Merge pull request #320 from zricethezav/bug/manager-ptr
...
bug/manager-ptr
2020-01-19 11:56:29 -05:00
zricethezav
b200a13c8d
bug fix: use manager pointers instead of value for gitleaks hosts... this was causing an issue with metadata logging
2020-01-19 11:51:52 -05:00
Zachary Rice
e6fabdbb31
Merge pull request #319 from zricethezav/repo-timeout
...
Repo timeout
2020-01-19 11:48:57 -05:00
Zachary Rice
cdd654eab7
pr template
2020-01-19 10:17:08 -05:00
zricethezav
2f07b96333
adding test, cancelfunc (for go vet)
2020-01-19 10:07:01 -05:00