juancardesa/Secret Scanner CLI

Scan a repository, organization, or local checkout for exposed secrets and upload SARIF results to GitHub code scanning.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
target-typeWhat to scan: 'local', 'repo', or 'org'.nolocal
targetPath to scan for 'local', 'owner/repo' for 'repo', or organization name for 'org'.no.
branchBranch to scan. Only used when target-type is 'repo' or 'org'.no""
excludeComma-separated exclude glob patterns, e.g. "*.min.js,dist/*".no""
severityMinimum confidence level to report: low, medium, or high.no""
include-historyAlso scan recent commit diffs. Only used when target-type is 'repo' or 'org'.nofalse
max-commitsNumber of commits to scan when include-history is true.no""
baselinePath to a baseline file of previously accepted findings.no""
fail-on-findingsFail the job if any findings remain after filtering.notrue
github-tokenGitHub token used for 'repo' or 'org' scans. Not required for target-type 'local'.no""
sarif-pathPath to write the SARIF report to.nosecret-scanner-results.sarif
namedescription
sarif-pathPath to the generated SARIF report.
exit-codeExit code returned by the secret-scanner CLI.