dortort/Betterleaks Action

Scan for secrets and credentials using Betterleaks

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionBetterleaks version (e.g., v1.1.1 or latest)nolatest
scan-modeScan mode: git, dir, stdin, or auto (auto detects from event type)noauto
scan-pathPath to scan (positional argument to betterleaks CLI)no.
configPath to Betterleaks config fileno""
baseline-pathPath to baseline file for incremental adoptionno""
report-formatReport format (single value): json, csv, junit, sarif, or templatenosarif
report-pathPath to write the report filenobetterleaks-report.sarif
redactRedact secrets from outputnotrue
exit-codeCustom exit code when leaks are foundno""
verboseEnable verbose outputnofalse
no-colorDisable colored outputnotrue
no-bannerSuppress ASCII bannernotrue
validationEnable live secret validation (CLI defaults to true)notrue
extra-argsAdditional CLI arguments passed directly to betterleaksno""
fail-on-leakFail the action if leaks are foundnotrue
github-tokenGitHub token for authenticated API calls (version resolution)no${{ github.token }}
timeoutScan timeout in secondsno300
namedescription
exit-codeBetterleaks process exit code
report-pathPath to the generated report file
sarif-pathPath to SARIF file (for use with github/codeql-action/upload-sarif)
leaks-foundWhether leaks were found (true/false)
leak-countNumber of leaks found (only available when report-format is sarif)