OS Manuals

/opt/chainguard/checkov/bin/detect-secrets

static code and composition analysis tool for IaC

From checkov 3.4.3-r0 (enterprise-packages), captured 2026-11-08 by running detect-secrets --help (exit 0). permalink

usage: detect-secrets [-h] [-v] [--version] [-C <path>] [-c NUM_CORES] {scan,audit} ...

positional arguments:
  {scan,audit}
    scan                Creates a baseline by scanning a repository for secrets.
    audit               Manually assesses a baseline to determine validity of secrets found.

options:
  -h, --help            show this help message and exit
  -v, --verbose         Verbose mode.
  --version             Display version information.
  -C <path>             Run as if detect-secrets was started in <path>, rather than in the current
                        working directory.
  -c NUM_CORES, --cores NUM_CORES
                        Specify the number of cores to use for parallel processing. Defaults to
                        using the max cores on the current host.
Options (4)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-v, --verboseVerbose mode.help
--versionDisplay version information.help
-C pathRun as if detect-secrets was started in <path>, rather than in the current working directory.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.