thadiust/Gitleaks secrets scan

Run Gitleaks to detect hardcoded secrets; does not print secret values in logs

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
gitleaks_versionExact Gitleaks release version (no v prefix)no8.18.4
working_directoryDirectory to scan (repo root relative). With no_git=false (default), this must be a git repository. With no_git=true, a plain directory tree is enough.no.
config_pathOptional Gitleaks config path relative to working_directory (e.g. .gitleaks.toml)no""
baseline_pathOptional baseline report path relative to working_directory (existing findings ignored)no""
no_gitIf true, scan files only (--no-git) instead of git historynofalse
fail_on_findingsFail the action when one or more findings are reportednotrue
write_sarifWrite a SARIF 2.1 report to sarif_filename (for GitHub Code Scanning upload)nofalse
sarif_filenameSARIF file path relative to working_directory (used when write_sarif is true)nogitleaks-results.sarif
namedescription
secret_countNumber of findings reported by Gitleaks
scan_statusFinal scan status (clean, findings_found, scanner_error)
sarif_pathRepo-relative path to the SARIF report when write_sarif is true (empty otherwise)