Scan code for accidentally committed secrets and API keys
850
Scan files and git repositories for accidentally committed secrets, API keys, and credentials.
docker run -v $(pwd):/code ogulcanaydogan/secret-scanner
| Variable | Description | Default |
|---|---|---|
SCAN_DIR | Directory to scan | /code |
SCAN_GIT_HISTORY | Scan git history | false |
OUTPUT_FORMAT | Output: cli/json/sarif | cli |
ALLOWLIST_FILE | Path to allowlist file | - |
FAIL_ON_FOUND | Exit code 1 if secrets found | true |
MIT
Content type
Image
Digest
sha256:6be411ab2…
Size
19.9 MB
Last updated
8 months ago
docker pull ogulcanaydogan/secret-scanner