Update README.md

This commit is contained in:
Zachary Rice authored and GitHub committed 2021-03-05 16:40:07 -05:00
1 parent 5ef4e336ce
commit a27a08904a
1 file changed
+5 -8
+5 -8
View File
@@ -56,6 +56,7 @@ Application Options:
-p, --path= Path to directory (repo if contains .git) or file -p, --path= Path to directory (repo if contains .git) or file
-c, --config-path= Path to config -c, --config-path= Path to config
--repo-config-path= Path to gitleaks config relative to repo root --repo-config-path= Path to gitleaks config relative to repo root
--clone-path= Path to clone repo to disk
--version Version number --version Version number
--username= Username for git repo --username= Username for git repo
--password= Password for git repo --password= Password for git repo
@@ -66,24 +67,20 @@ Application Options:
--branch= Branch to scan --branch= Branch to scan
--redact Redact secrets from log messages and leaks --redact Redact secrets from log messages and leaks
--debug Log debug messages --debug Log debug messages
--no-git Treat git repos as plain directories and scan those files
--leaks-exit-code= Exit code when leaks have been encountered (default: 1) --leaks-exit-code= Exit code when leaks have been encountered (default: 1)
--no-git Treat git repos as plain directories and scan those
files
--append-repo-config Append the provided or default config with the repo config. --append-repo-config Append the provided or default config with the repo config.
--additional-config= Path to an additional gitleaks config to append with an existing config. Can be used with --append-repo-config to append up to three configurations --additional-config= Path to an additional gitleaks config to append with an existing config. Can be used with --append-repo-config to append up to three configurations
-o, --report= Report output path -o, --report= Report output path
-f, --format= JSON, CSV, SARIF (default: json) -f, --format= JSON, CSV, SARIF (default: json)
--files-at-commit= Sha of commit to scan all files at commit --files-at-commit= Sha of commit to scan all files at commit
--commit= Sha of commit to scan or "latest" to scan the last --commit= Sha of commit to scan or "latest" to scan the last commit of the repository
commit of the repository
--commits= Comma separated list of a commits to scan --commits= Comma separated list of a commits to scan
--commits-file= Path to file of line separated list of commits to scan --commits-file= Path to file of line separated list of commits to scan
--commit-from= Commit to start scan from --commit-from= Commit to start scan from
--commit-to= Commit to stop scan --commit-to= Commit to stop scan
--commit-since= Scan commits more recent than a specific date. Ex: --commit-since= Scan commits more recent than a specific date. Ex: '2006-01-02' or '2006-01-02T15:04:05-0700' format.
'2006-01-02' or '2006-01-02T15:04:05-0700' format. --commit-until= Scan commits older than a specific date. Ex: '2006-01-02' or '2006-01-02T15:04:05-0700' format.
--commit-until= Scan commits older than a specific date. Ex:
'2006-01-02' or '2006-01-02T15:04:05-0700' format.
--depth= Number of commits to scan --depth= Number of commits to scan
Help Options: Help Options: