Detect potential credentials and other secrets in repositories and changes.
Secret scanning
Check code and commit history for accidentally published credentials.
Why it matters to your business
Spot credential exposure before it becomes unauthorized access.
What could go wrong?
Illustrative scenario: A test token with production permissions is committed to a repository. The file is later deleted, but the token remains usable in commit history.
A practical starting baseline
- Scan repositories and pull requests.
- Revoke exposed credentials immediately; deleting a commit is not enough.
When you’re ready to go further
- Generate release-specific component inventories and verify artifact provenance or signatures where supported.
- Pin and review build dependencies, isolate sensitive runners, and prefer short-lived deployment credentials.
Tools that may help
Scan supported artifacts for known vulnerabilities, misconfigurations, secrets, and software components.
How it supports compliance readiness
These are supporting relationships, not findings that a requirement is satisfied. Target scores use the limited subset shown on each target’s guide.
GDPR · Article 32 supports
This is an example measure supporting risk-appropriate security of processing. The provision does not prescribe this specific tool or implementation, and this control alone does not satisfy the obligation.
Read the official referencePCI DSS · Secure systems and security testing supports
These selected security practices help prepare for secure-system and testing discussions, but do not reproduce all PCI DSS requirements or testing procedures. This is an editorial, topic-level supporting relationship, not a complete requirement mapping or a finding of conformity.
Read the official referenceEvidence worth keeping
- Scanning configuration and credential revocation records
- Named owner, review date, and documented exceptions
Keep records proportionate, current, access-controlled, and subject to a justified retention period. Avoid copying credentials or unnecessary personal data into evidence.
Prerequisites & related controls
Sources & further reading
Editorial review: 2026-11-26. Framework-specific references are linked alongside the support relationships above. Mappings are illustrative, not legal conclusions or a complete audit crosswalk.