zricethezav
e2eaceb4cd
rm bad example config
2020-07-24 14:07:00 -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
zricethezav
62e74b2b18
let the repo handle timeouts... better for automating audits anyway
2020-01-19 09:26:06 -05:00
Zachary Rice
e75693b131
Update feature_request.md
2020-01-12 12:22:54 -05:00
Zachary Rice
3cd14d4696
Update bug_report.md
2020-01-12 12:22:14 -05:00
Zachary Rice
d29cc9892c
Update bug_report.md
2020-01-12 12:21:33 -05:00
Zachary Rice
d996882f4e
Update bug_report.md
2020-01-12 12:20:44 -05:00
Zachary Rice
c21a9cf121
Merge pull request #317 from zricethezav/feature/commit-range
...
Adding commit range feature via 'commit-to' and 'commit-from' options
2020-01-11 17:01:53 -05:00
zricethezav
d3c4342c15
Updating README
2020-01-11 16:58:59 -05:00
Zachary Rice
24844002de
Update README.md
2020-01-03 16:15:54 -05:00
Zachary Rice
593edeae21
Update README.md
2019-12-24 10:03:02 -06:00
Zachary Rice
6df770d261
Merge pull request #313 from zricethezav/bug/docker-update
...
adding docker push support again to Make and fixed a go vet nit
2019-12-24 09:13:01 -06:00
zach rice
4f0c9dcede
adding docker push support again to Make and fixed a go vet nit
2019-12-17 20:44:20 -05:00
Zachary Rice
52425a8ca9
Merge pull request #307 from pegasd/add_pkcs8_key_support
...
Add support for PKCS8 key
2019-12-07 19:33:54 -05:00
Zachary Rice
454acebe5a
Merge pull request #303 from petegallagher/host-base-url
...
Adding baseurl flag to allow self-hosted GitLab/GitHub servers
2019-12-05 10:32:52 -05:00
Zachary Rice
648a7ba577
Merge pull request #304 from chapeupreto/patch-1
...
fix typo
2019-12-04 14:47:12 -05:00
Zachary Rice
7c5594c39d
Merge pull request #305 from zricethezav/limit-leak-len
...
Limit leak len
2019-12-04 14:46:36 -05:00
Zachary Rice
274e8212a6
adding license
2019-12-04 08:48:37 -05:00
zach rice
15ed72bc09
updating test data
2019-12-01 21:33:40 -05:00
zach rice
ace8de93a9
limit leak len to 200 characters
2019-12-01 21:30:40 -05:00
Zachary Rice
ef38b69c39
Merge pull request #302 from petegallagher/whitelist-gitleaks.toml
...
Update default whitelist to include gitleaks.toml
2019-11-30 09:44:23 -06:00
Zachary Rice
ac6bde9996
Merge pull request #296 from petegallagher/private-key
...
Update asymmetric private key regex
2019-11-30 09:41:35 -06:00
Zachary Rice
23568cc0ba
Merge pull request #295 from petegallagher/sendgrid
...
Adding regex for SendGrid API keys
2019-11-30 09:41:10 -06:00
Zachary Rice
e61c2cfae7
Merge pull request #301 from petegallagher/AuditUncommitted
...
Fix repo-config and file whitelist for AuditUncommitted function
2019-11-30 09:40:24 -06:00
Zachary Rice
725da55905
Merge pull request #289 from zricethezav/fix/3.0.2
...
recover on panic in patch generation, full filepath for report, versi…
2019-11-23 09:56:27 -05:00
zach rice
cfac551ab8
recover on panic in patch generation, full filepath for report, version message if not built with LDFLAGS
2019-11-23 09:50:16 -05:00
Zachary Rice
c559fdbf04
Merge pull request #287 from chenrui333/go-1.13.4
...
Bump golang and alpine to latest
2019-11-17 13:41:43 -06:00
Zachary Rice
b6f726654e
Merge pull request #286 from zricethezav/v3.0.1
...
V3.0.1
2019-11-17 12:12:54 -06:00
zach rice
8cbb84c50f
fixing tests
2019-11-17 11:56:16 -06:00
zach rice
f3eac0c958
adding report-format to tests since we dont parse flags
2019-11-17 11:34:15 -06:00
zach rice
3211cfbbb1
fixing a bug, adding csv report option and leak caching
2019-11-17 11:13:34 -06:00
zach rice
c6934f5eab
updating readme
2019-11-15 13:52:05 -06:00
zach rice
f8c054b879
gotta log the reponame on cloned repos
2019-11-15 13:35:34 -06:00
Zachary Rice
ad2a64c82b
Merge pull request #285 from zricethezav/v3
...
metadata sync
2019-11-15 13:26:46 -06:00
zach rice
9e0028fe73
Merge branch 'master' of github.com:zricethezav/gitleaks into v3
2019-11-15 13:22:18 -06:00
zach rice
dfbd01a980
sync bug w/ timings
2019-11-15 13:22:03 -06:00
Zachary Rice
86737955de
Merge pull request #281 from zricethezav/v3
...
V3
2019-11-14 07:38:34 -05:00
zach rice
7f0b027486
changing ret err to warning for owner-path scan
2019-11-13 20:03:51 -05:00
zach rice
4d04ea079f
fixing test data
2019-11-12 22:32:15 -05:00
zach rice
6e1c41b536
more examples
2019-11-12 22:17:56 -05:00
zach rice
275232f8c8
examples and more tests
2019-11-12 20:08:17 -05:00
zach rice
c8f9560aa3
adding pretty print option
2019-11-12 18:18:51 -05:00