mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 04:34:46 +01:00
Fixing patch direction and making additions the default (#408)
* Fixing patch direction and making additions the default * adding test
This commit is contained in:
1 parent
e36b550851
commit
cfbb600fcb
16 files changed
+103
-410
No files matched your search
@@ -56,6 +56,7 @@ type Options struct {
|
||||
CommitUntil string `long:"commit-until" description:"Audit commits older than a specific date. Ex: '2006-01-02' or '2006-01-02T15:04:05-0700' format."`
|
||||
Timeout string `long:"timeout" description:"Time allowed per audit. Ex: 10us, 30s, 1m, 1h10m1s"`
|
||||
Depth int `long:"depth" description:"Number of commits to audit"`
|
||||
Deletion bool `long:"include-deletion" description:"Scan for patch deletions in addition to patch additions"`
|
||||
|
||||
// Hosts
|
||||
Host string `long:"host" description:"git hosting service like gitlab or github. Supported hosts include: Github, Gitlab"`
|
||||
|
||||
Reference in new issue
Block a user