Eric Ripa
5585e10933
Change error handling in getRepo functions
...
Instead of returning an empty list of repositories
and an error if any cloning operation fails, simply
store the error in the Repo instance and always
return all repos.
Then later on check for errors during the audit step.
By having this approach we don't prematurely exit
the scanning if there are problems during cloning,
such as if a repository is empty and fails to clone.
2018-08-09 11:31:29 -07:00
Eric Ripa
23d5bf0b51
Add simply TCP check during optsGuard to verify the given github URL
2018-08-09 11:30:55 -07:00
Eric Ripa
b1c7a84fae
Add initial support for GitHub Enterprise custom URLs
2018-08-09 10:04:41 -07:00
Zachary Rice
60801b336a
Opt version ( #80 )
...
* version opt
* change-log
2018-07-22 20:16:09 -05:00
zricethezav
94e7a25b5b
removing log formatting
2018-07-21 14:01:39 -05:00
zricethezav
45d94fa013
fixing commit patch order and report commit
2018-07-21 14:00:33 -05:00
zricethezav
b4e69ecd37
clone and results logs, some additional comments
2018-07-21 13:29:32 -05:00
zricethezav
e0c717c3a3
Updating Makefile, making in-memory default, adding disk option
2018-07-21 09:09:39 -05:00
arjunyel
38b7fc3cfb
Twitter typo
2018-07-20 21:34:00 -05:00
Zachary Rice
1f80d14f3f
Gitleaks v1.0.0 ( #75 )
...
major bump
2018-07-20 20:02:52 -05:00
zricethezav
8e59bf766a
rm some silly logic, better comments
2018-03-12 17:50:02 -05:00
zricethezav
ccef3680d5
external repo file support
2018-03-10 13:32:05 -06:00
Zachary Rice
9f3ae4efa0
Merge pull request #55 from zricethezav/feature/usability
...
Feature/usability
2018-03-04 20:29:00 -06:00
zricethezav
2fadf219d9
more coverage
2018-03-03 21:44:04 -06:00
Keiran Sweet
041c11d9fc
Adding DSA key check to regex list
2018-03-03 16:00:43 +11:00
zricethezav
0ed0489c2d
linting, more testing, cleaning
2018-03-02 16:55:02 -06:00
Ryan O’Hara
032c616f63
Fix unintentional values in character classes
2018-03-01 21:15:57 -08:00
zricethezav
36c31bf181
working on tests
2018-03-01 22:35:13 -06:00
zricethezav
d85c8d8abd
support for running gitleaks w no args
2018-03-01 19:14:20 -06:00
zricethezav
39c9cb617c
cleaning up path logic for clones and reports, local repos are supported now
2018-03-01 19:08:58 -06:00
zricethezav
0d75136c1c
structured logs
2018-02-28 22:02:03 -06:00
zricethezav
7919e15a65
my, things have changed...
2018-02-28 19:36:21 -06:00
zricethezav
faca0e14d9
refactoring after actually learning some go patterns
2018-02-27 21:56:46 -06:00
Zachary Rice
4b21bbef2e
Merge pull request #47 from Shawn-Smith/Stopwords-lowercase
...
Make stopwords lowercase
2018-02-25 17:15:02 -06:00
zricethezav
4b4fa00b69
Merge branch 'master' of https://github.com/zricethezav/gitleaks into develop
2018-02-25 16:13:42 -06:00
zricethezav
1cecd5e090
updated readme, better logging
2018-02-25 16:10:44 -06:00
Shawn Smith
93380ad86a
Do lowercase checks in stopwords
...
This reduces the number of loops we need to do when checking.
2018-02-25 14:15:19 -05:00
zricethezav
c104ff9157
file, author, repourl, time, commitmsg to leakElem
2018-02-25 11:49:15 -06:00
Alex Pliutau
bc0dab1c56
#35 Add GCP service account key check: PKCS8
2018-02-25 20:10:57 +07:00
Shawn Smith
224ba41968
Case insensitive regex matching
...
This changes the current regexs to ones that aren't case sensitive.
2018-02-24 17:02:59 -05:00
zricethezav
1b06f1a0dc
init 0.2.0 work
2018-02-24 15:46:24 -06:00
zricethezav
2186f22999
more info on output and in jsonish format
2018-02-22 20:37:57 -06:00
zricethezav
9f694531b2
just kidding on the yaml
2018-02-22 19:52:46 -06:00
zricethezav
1e250f1a14
sprucing up the joint
2018-02-22 19:06:04 -06:00
zricethezav
6f5079c193
yamlizing
2018-02-22 17:36:36 -06:00
zricethezav
bc26e979c5
shannon entropy for base64 and hex, more options
2018-02-19 18:56:07 -06:00
zricethezav
2533ea6661
updated readme and org target
2018-02-18 20:50:45 -06:00
zricethezav
825d434c66
concurrency option functional
2018-02-18 17:58:53 -06:00
zricethezav
5d924ecc53
logging
2018-02-18 17:28:36 -06:00
zricethezav
a77b6e4f8b
init org user scan work
2018-02-18 12:03:46 -06:00
Anton Postov
a9c5d5a953
Code cleanup and badges
2018-02-17 10:51:20 +03:00
zricethezav
f27c0a62c9
typo
2018-02-05 17:34:11 -06:00
zricethezav
562b7e27c0
rm honeypot
2018-02-04 15:28:39 -06:00
zricethezav
06c9e824d5
honey pot
2018-02-04 15:28:18 -06:00
zricethezav
d533d5a273
cleanup
2018-02-04 14:40:22 -06:00
zricethezav
15d3d8e7de
better naming
2018-02-02 08:09:55 -06:00
zricethezav
0e1ffaa573
breaking out repo
2018-01-29 20:02:09 -06:00
zricethezav
128e10ba90
export report to json
2018-01-28 20:32:20 -06:00
zricethezav
4fd6ee3ab3
[progress] shannon entropy, need to include stop words in target key
2018-01-28 19:11:31 -05:00
zricethezav
ec2fc9d6cb
[update] entropy check
2018-01-28 17:39:00 -05:00