Eddie Austin and eddie-northcutt-wfp0
6018a6bb70
No longer generate empty reports ( #577 )
...
* return nil when no leaks found and lowercase report format option (#3 )
* lowercase format options for consistency
* lowercase report format description
Co-authored-by: eddie-northcutt-wfp0 <eddie.northcutt.wfp0@statefarm.com >
2021-09-06 16:39:50 -05:00
Tomy Guichard
25c3e92c2a
SSH auth: Add custom username support ( #536 )
...
* Add support for custom username when using SSH auth
Previously, the user "git" was hard-coded
This commit also adds support for ssh:// URLs
* Add comment to explain username parsing
2021-05-05 12:30:12 -04:00
zricethezav
78f2c46517
Consistency in options
2021-03-05 16:19:24 -05:00
eddie-northcutt-wfp0
a10ae91ba7
v7.x Update - Add ability to append repo configurations, and user supplied configurations to the specified or default configuration ( #487 )
...
* Update merge configuration changes for Gitleaks 7.x
* Change merge to append, and did some clean up
2021-03-05 15:09:10 -05:00
Paweł Kowalczyk
8be91eea5d
Add exit code 1 on invalid usage, fixes #500 ( #501 )
2021-01-10 09:34:31 -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
3909ebe03b
Exit code update, introduce leaks-exit-code flag ( #481 )
2020-12-08 17:41:02 -05:00
zricethezav
b8accd7273
rm unimplemented cleanpath option
2020-12-03 15:43:06 -05:00
Zachary Rice
c50906373c
update to V7 ( #469 )
2020-12-02 17:07:31 -05:00
Zachary Rice
ad505754fc
Add commits and commits-file option ( #433 )
2020-08-31 10:29:04 -04:00
Zachary Rice
ef4655fcf1
Sarif ( #421 )
...
* init
* more work
* more sarif work
* mergin
2020-08-12 18:07:24 -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
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
zricethezav
2232dc191c
removing bad options guard
2020-06-03 08:51:11 -04:00
Steeve Barbeau
e0f6399d5c
Audit commits based on date/time parameters ( #385 )
...
* time based audit
* fixing SIGSEGV
* adding options for date and time format + tests
* Update repo.go
* Update github.go
* rebase + tests update
2020-05-24 18:03:47 -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
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
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
8b3ce2cb1e
forgot to bump in code... ( #347 )
2020-02-26 20:41:54 -05:00
zricethezav
5a300c3c64
fixing --commit bug, adding --files-at-commit option
2020-01-30 20:08:01 -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
zricethezav
f6460a7365
reimplementing depth feature
2020-01-19 12:14:14 -05:00
zricethezav
62e74b2b18
let the repo handle timeouts... better for automating audits anyway
2020-01-19 09:26:06 -05:00
Zach Rice
a0f72a4e35
Adding commit range feature via 'commit-to' and 'commit-from' options
2020-01-11 16:46:58 -05:00
Peter Gallagher
c5e1e8abc0
Adding baseurl flag to allow self-hosted GitLab/GitHub servers
2019-12-01 10:49:32 +00: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
zach rice
3211cfbbb1
fixing a bug, adding csv report option and leak caching
2019-11-17 11:13:34 -06:00
zach rice
c8f9560aa3
adding pretty print option
2019-11-12 18:18:51 -05:00
zach rice
315ee56024
opts guard and removing severity
2019-11-12 15:18:13 -05:00
zach rice
e446ba0738
fixing all golint and adding some more tests
2019-11-11 21:50:50 -05:00
zach rice
e5f5e64cdb
fixing module name, updating gitignore and travis
2019-11-10 17:05:36 -05:00
zach rice
b55d88dc15
v3 work... lots of things
2019-11-10 13:30:43 -05:00