From d3c4342c15be0445f3984a74b758557fa8a44e3d Mon Sep 17 00:00:00 2001 From: zricethezav Date: Sat, 11 Jan 2020 16:58:59 -0500 Subject: [PATCH] Updating README --- README.md | 57 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 5ae0ea31..cbc0ba47 100644 --- a/README.md +++ b/README.md @@ -55,34 +55,39 @@ Usage: gitleaks [OPTIONS] Application Options: - -v, --verbose Show verbose output from audit - -r, --repo= Target repository - --config= config path - --disk Clones repo(s) to disk - --version version number - --timeout= Timeout (s) - --username= Username for git repo - --password= Password for git repo - --access-token= Access token for git repo - --commit= sha of commit to audit - --threads= Maximum number of threads gitleaks spawns - --ssh-key= path to ssh key used for auth - --uncommitted run gitleaks on uncommitted code - --repo-path= Path to repo - --owner-path= Path to owner directory (repos discovered) - --branch= Branch to audit - --report= path to write json leaks file - --redact redact secrets from log messages and leaks - --debug log debug messages - --repo-config Load config from target repo. Config file must be ".gitleaks.toml" or "gitleaks.toml" - --pretty Pretty print json if leaks are present - --host= git hosting service like gitlab or github. Supported hosts include: Github, Gitlab - --org= organization to audit - --user= user to audit - --pr= pull/merge request url + -v, --verbose Show verbose output from audit + -r, --repo= Target repository + --config= config path + --disk Clones repo(s) to disk + --version version number + --timeout= Timeout (s) + --username= Username for git repo + --password= Password for git repo + --access-token= Access token for git repo + --commit= sha of commit to audit + --threads= Maximum number of threads gitleaks spawns + --ssh-key= path to ssh key used for auth + --uncommitted run gitleaks on uncommitted code + --repo-path= Path to repo + --owner-path= Path to owner directory (repos discovered) + --branch= Branch to audit + --report= path to write json leaks file + --report-format= json or csv (default: json) + --redact redact secrets from log messages and leaks + --debug log debug messages + --repo-config Load config from target repo. Config file must be ".gitleaks.toml" or "gitleaks.toml" + --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 + --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 + --user= user to audit + --pr= pull/merge request url Help Options: - -h, --help Show this help message + -h, --help Show this help message + ``` ### Docker usage examples