mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 05:24:22 +01:00
Updating README
This commit is contained in:
1 parent
b4c2f8e69c
commit
d3c4342c15
1 file changed
+5
@@ -72,17 +72,22 @@ Application Options:
|
|||||||
--owner-path= Path to owner directory (repos discovered)
|
--owner-path= Path to owner directory (repos discovered)
|
||||||
--branch= Branch to audit
|
--branch= Branch to audit
|
||||||
--report= path to write json leaks file
|
--report= path to write json leaks file
|
||||||
|
--report-format= json or csv (default: json)
|
||||||
--redact redact secrets from log messages and leaks
|
--redact redact secrets from log messages and leaks
|
||||||
--debug log debug messages
|
--debug log debug messages
|
||||||
--repo-config Load config from target repo. Config file must be ".gitleaks.toml" or "gitleaks.toml"
|
--repo-config Load config from target repo. Config file must be ".gitleaks.toml" or "gitleaks.toml"
|
||||||
--pretty Pretty print json if leaks are present
|
--pretty Pretty print json if leaks are present
|
||||||
|
--commit-from= Commit to start audit from
|
||||||
|
--commit-to= Commit to stop audit
|
||||||
--host= git hosting service like gitlab or github. Supported hosts include: Github, Gitlab
|
--host= git hosting service like gitlab or github. Supported hosts include: Github, Gitlab
|
||||||
|
--baseurl= Base URL for API requests. Defaults to the public GitLab or GitHub API, but can be set to a domain endpoint to use with a self hosted server.
|
||||||
--org= organization to audit
|
--org= organization to audit
|
||||||
--user= user to audit
|
--user= user to audit
|
||||||
--pr= pull/merge request url
|
--pr= pull/merge request url
|
||||||
|
|
||||||
Help Options:
|
Help Options:
|
||||||
-h, --help Show this help message
|
-h, --help Show this help message
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Docker usage examples
|
### Docker usage examples
|
||||||
|
|||||||
Reference in new issue
Block a user