mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
reimplementing depth feature
This commit is contained in:
1 parent
b47e00858e
commit
f6460a7365
5 files changed
+143
-2
No files matched your search
@@ -51,6 +51,7 @@ type Options struct {
|
||||
CommitFrom string `long:"commit-from" description:"Commit to start audit from"`
|
||||
CommitTo string `long:"commit-to" description:"Commit to stop audit"`
|
||||
Timeout string `long:"timeout" description:"Time allowed per audit. Ex: 10us, 30s, 1m, 1h10m1s"`
|
||||
Depth int `long:"depth" description:"Number of commits to audit"`
|
||||
|
||||
// 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