opensecdevops/OSDO Secrets Scan

Scan for secrets and credentials in code using Gitleaks, TruffleHog, and detect-secrets

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 21, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: opensecdevops/osdo-secrets-scan@850f532632f04234b0d49e059cc96f738f921e08 # v2.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pathPath to scan for secretsno.
scannersScanners to use (gitleaks, trufflehog, detect-secrets, all)nogitleaks
scan-modeScan mode (all-history, staged, pre-commit, directory)nodirectory
baseline-filePath to baseline file for known secrets (detect-secrets)no""
fail-on-findingFail the action if secrets are foundnotrue
gitleaks-configPath to custom Gitleaks config fileno""
results-dirDirectory to store resultsno.osdo/results
namedescription
findingsTotal secrets found
secret-typesTypes of secrets found
sarif-filePath to SARIF output file