You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RepoConfigbool`long:"repo-config" description:"Load config from target repo. Config file must be \".gitleaks.toml\" or \"gitleaks.toml\""`
52
-
PrettyPrintbool`long:"pretty" description:"Pretty print json if leaks are present"`
53
-
CommitFromstring`long:"commit-from" description:"Commit to start scan from"`
54
-
CommitTostring`long:"commit-to" description:"Commit to stop scan"`
55
-
CommitSincestring`long:"commit-since" description:"Scan commits more recent than a specific date. Ex: '2006-01-02' or '2006-01-02T15:04:05-0700' format."`
56
-
CommitUntilstring`long:"commit-until" description:"Scan commits older than a specific date. Ex: '2006-01-02' or '2006-01-02T15:04:05-0700' format."`
57
-
Timeoutstring`long:"timeout" description:"Time allowed per scan. Ex: 10us, 30s, 1m, 1h10m1s"`
58
-
Depthint`long:"depth" description:"Number of commits to scan"`
59
-
Deletionbool`long:"include-deletion" description:"Scan for patch deletions in addition to patch additions"`
31
+
Verbosebool`short:"v" long:"verbose" description:"Show verbose output from scan"`
RepoConfigbool`long:"repo-config" description:"Load config from target repo. Config file must be \".gitleaks.toml\" or \"gitleaks.toml\""`
51
+
PrettyPrintbool`long:"pretty" description:"Pretty print json if leaks are present"`
52
+
53
+
// Commit Options
54
+
Commitstring`long:"commit" description:"sha of commit to scan or \"latest\" to scan the last commit of the repository"`
55
+
Commitsstring`long:"commits" description:"comma separated list of a commits to scan"`
56
+
CommitsFilestring`long:"commits-file" description:"file of new line separated list of a commits to scan"`
57
+
CommitFromstring`long:"commit-from" description:"Commit to start scan from"`
58
+
CommitTostring`long:"commit-to" description:"Commit to stop scan"`
59
+
CommitSincestring`long:"commit-since" description:"Scan commits more recent than a specific date. Ex: '2006-01-02' or '2006-01-02T15:04:05-0700' format."`
60
+
CommitUntilstring`long:"commit-until" description:"Scan commits older than a specific date. Ex: '2006-01-02' or '2006-01-02T15:04:05-0700' format."`
61
+
62
+
Timeoutstring`long:"timeout" description:"Time allowed per scan. Ex: 10us, 30s, 1m, 1h10m1s"`
63
+
Depthint`long:"depth" description:"Number of commits to scan"`
64
+
Deletionbool`long:"include-deletion" description:"Scan for patch deletions in addition to patch additions"`
60
65
61
66
// Hosts
62
67
Hoststring`long:"host" description:"git hosting service like gitlab or github. Supported hosts include: Github, Gitlab"`
0 commit comments