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
Zachary Rice
4aa7be2dbf
Merge pull request #120 from denwwer/115-gitlab
...
115 gitlab
2018-11-12 21:30:06 -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
boris
79a8983bac
support GitLab
2018-11-06 15:10:09 +02:00
Cristhian Amaya
7d5ed837a4
Remove break lines in commit messages
...
Breaklines in a csv report caused issues when importing the data to an
spreadsheet application like LibreOffice Calc or Microsoft Excel.
2018-11-06 11:41:38 +01:00
zach rice
8153da6e9c
readding default whitelist
2018-11-05 18:13:50 -06:00
zach rice
40240cb5ee
removing branch from report
2018-11-03 11:31:18 -05:00
zach rice
9103834503
tests, readme, bumping version
2018-11-03 11:11:50 -05:00
zach rice
7e3c740592
audit all branches by default, memoize commits, smarter regexes
2018-11-02 21:58:09 -05:00
Cristhian Amaya
23b5ce3264
Add commit date to leaks
2018-10-28 17:13:59 +01:00
zach rice
03c53d2978
version again, pushing to master because thats what we do here
2018-10-27 19:30:58 -05:00
zach rice
77dec1461b
better language
2018-10-27 19:19:07 -05:00
Les Aker
afb598cf15
update defaultConfig with new Slack regex
2018-10-27 14:29:25 -04:00
zach rice
c358ae9310
changelog
2018-10-26 13:53:16 -05:00
zach rice
9554258d02
adding some more defaults
2018-10-26 13:48:14 -05:00
zach rice
ea42ed406f
fixing default ssh logic
2018-10-25 12:27:50 -05:00
zach rice
94389137e8
removing private opts
2018-10-24 16:00:15 -05:00
zach rice
98e6ba9378
better ssh handling
2018-10-24 15:49:53 -05:00
zach rice
98aeee9b1d
fixing everything
2018-10-24 12:28:54 -05:00
zach rice
64e7afea98
updating version
2018-10-24 09:58:39 -05:00
zach rice
16765c19cf
adding go routines does not help performance much.... posting benchmarks soon
2018-10-24 09:38:36 -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
88cc9bb363
committing to master nbd.... stupid version
2018-10-20 17:28:42 -05:00
zach rice
23489f3f18
updating changelog, readme, some other things
2018-10-20 17:16:35 -05:00
zach rice
a998ddc9d4
adding github.go, pagination working
2018-10-20 16:31:52 -05:00
zach rice
833963c1c1
refactoring
2018-10-19 19:53:10 -05:00
zach rice
4b11f87f80
poc seems to work fine w token auth
2018-10-19 15:58:25 -04:00
Cristhian Amaya
8896cf66cd
Update help option
...
* Show program usage when no arguments are provided
* Exit program after the -h or --help options are used
2018-10-15 17:10:44 +02:00
zach rice
df133ccaf8
version boss strikes AGAIN
2018-10-12 19:01:42 -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
8536f16ceb
rm commit count log
2018-10-10 09:41:49 -05:00
zach rice
9939c638ec
better log
2018-10-09 21:07:49 -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
ce603c73b4
sample config opt
2018-10-07 18:19:43 -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
zach rice
bfec8aca51
working on better comments
2018-10-05 22:55:19 -05:00
Zachary Rice
a9b30edb06
Resource fix ( #103 )
...
* bumping version
2018-10-04 10:11:52 -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