Cristhian Amaya
68c2a18f6f
Update entropy noise reduction
...
Instead of reducing noise by default, there's a new flag called
`--noise-reduction` to enable that.
2018-12-10 16:24:53 +01:00
Cristhian Amaya
ea49078ffd
Reduce noise when running entropy checks
...
When there's a word on a line with high entropy, we check if the line
matches any of the regex configured on the `lineregexes` element of the
`entropy` section. If so, it's marked as a leaked.
This has reduced the number of leaks found with entropy enabled up to
80%
2018-12-04 10:23:42 +01:00
Cristhian Amaya
6e086c4297
Fix Github PR checks error
...
When a commit contained a file without patch information like an added
empty file, there was a nil pointer dereference.
2018-11-23 11:56:49 +01:00
Zachary Rice
cb6b01cc5d
Merge pull request #149 from camaya/fix-files-whitelist-github-prs
...
Fix files whitelisting when checking Github PRs
2018-11-18 08:36:47 -06:00
Cristhian Amaya
169a137e7f
Fix files whitelisting when checking Github PRs
...
Files whitelisting code was not executed when running the tool against a
Github PR so the config was ignored.
To avoid duplication, the whitelist files check has been moved to the `inspect`
function which is always executed.
2018-11-13 11:54:25 +01:00
zricethezav
793bbc793f
bumping version, format, changelog, uhhhhhh, test... a single test
2018-11-12 21:42:45 -06:00
zach rice
54949bd62a
fixing commit count
2018-11-07 19:33:39 -06:00
zach rice
de0a70a835
changelog
2018-11-06 22:27:52 -06:00
zach rice
9f8feca926
gotta check the root
2018-11-06 22:20:42 -06:00
zach rice
ba49396755
updating tests
2018-11-03 11:34:07 -05:00
zach rice
9103834503
tests, readme, bumping version
2018-11-03 11:11:50 -05:00
Cristhian Amaya
23b5ce3264
Add commit date to leaks
2018-10-28 17:13:59 +01:00
zach rice
77dec1461b
better language
2018-10-27 19:19:07 -05:00
zach rice
847687a637
fixing test. travis doesnt have rsa id
2018-10-24 16:48:34 -05:00
zach rice
98e6ba9378
better ssh handling
2018-10-24 15:49:53 -05:00
zach rice
e288db29a8
fixing tests
2018-10-24 12:40:05 -05:00
zach rice
21b59fab5d
whitelist repo update
2018-10-23 16:34:36 -05:00
zach rice
0a51dabb17
entropy ranges
2018-10-22 18:51:01 -05:00
zach rice
23489f3f18
updating changelog, readme, some other things
2018-10-20 17:16:35 -05:00
zach rice
dcda26578b
report filetype enforcement, time to audit
2018-10-12 17:01:24 -05:00
zach rice
19e23c9cbe
look at prev commit too
2018-10-10 12:16:31 -05:00
zach rice
ed3a512b4b
commit depth option
2018-10-09 21:01:56 -05:00
zach rice
bde9af44ea
merging, adding comments, updating flag description
2018-10-09 18:42:09 -05:00
Cristhian Amaya
9144594d77
Fix commit option
...
The --commit option was being ignored becase the Close() function doesn't stop
the iterator.
According to the documentation:
https://godoc.org/gopkg.in/src-d/go-git.v4/plumbing/object#FileIter.ForEach
an ErrStop error should be send to stop it.
2018-10-09 16:49:16 +02:00
Cristhian Amaya
1cb15242fd
Add option to check string entropy
...
Strings with high entropy have a good probability of being a secret.
2018-10-08 16:08:04 +02:00
zach rice
88c0c7779b
exclude fork
2018-10-07 18:39:17 -05:00
zach rice
55218fc8f8
whitelist repos
2018-10-07 18:09:10 -05:00
zach rice
0726209172
maintenance
2018-10-06 19:27:54 -05:00
Zachary Rice
cc6d698e63
Resource fix ( #102 )
...
* no more dangling goroutines
2018-10-04 09:47:18 -05:00
Zachary Rice
2ba97d0fa3
fixing audit repo bug ( #101 )
...
* fixing audit repo bug
* bumping version
2018-10-02 12:34:05 -05:00
Zachary Rice
d299b5aa7f
Exitcode ( #100 )
...
* additional exit code, some more cleaning
* bump version
2018-10-02 09:52:18 -05:00
Zachary Rice
3faec00bf9
Max go ( #98 )
...
* default max go, cleaning up for orgs
* bump changelog
* bumping version
2018-10-01 21:21:19 -05:00
Zachary Rice
93669f1ee8
Csv ( #96 )
...
* refactoring github audits, adding csv support
* working on tests
* test passing
* bumping version
* updating readme
2018-09-29 22:11:40 -05:00
Zachary Rice
fad98cbde2
Single commit repo ( #95 )
...
* supporting repos with one commit
2018-09-26 14:28:22 -05:00
zach rice
e6caef0d94
test branch opt, bump changelog
2018-09-12 19:17:04 -05:00
Eric Ripa
b1c7a84fae
Add initial support for GitHub Enterprise custom URLs
2018-08-09 10:04:41 -07:00
zricethezav
e0c717c3a3
Updating Makefile, making in-memory default, adding disk option
2018-07-21 09:09:39 -05:00
Zachary Rice
1f80d14f3f
Gitleaks v1.0.0 ( #75 )
...
major bump
2018-07-20 20:02:52 -05:00