Secret Policies

Secret hygiene is one of the most common paths to a breach, a stale, over-permissioned, or unrotated secret is exactly the kind of exposure attackers look for. Secret Policies encode what good secret hygiene looks like, so every secret in your environment is judged against the same bar instead of relying on manual review.

Available Secret Policies

Identity & Secrets Intelligence currently ships the following built-in Secret Policies:

PolicySeverityWhat It FlagsApplies To
Orphaned SecretCriticalA secret with no identifiable owner or associated applicationAWS, Akeyless, GCP, Azure, GitHub
Public Access via Resource PolicyCriticalA resource policy that allows public access to the secretAWS, Akeyless, GCP
Live Secret Committed to CodeCriticalA working credential found committed to source, in repo history or the current codebaseGitHub code secrets
Critical Blast-Radius Code SecretCriticalA live, hardcoded credential in code that reaches a credential store or control planeGitHub code secrets
Rotation OverdueHighA secret that hasn't been rotated in the last 180 daysAWS, Akeyless, GCP, Azure, GitHub
Automatic Rotation DisabledHighA secret that doesn't have automatic rotation enabledAWS, Akeyless, GCP, GitHub
Least Privilege Access ControlHighA secret that's accessible by an unusually large number of entities (more than 10)AWS, Akeyless, GCP, Azure, GitHub
Stale Privileged SecretHighA high-privilege secret (more than 10 accessors) that hasn't been used in 90+ daysAWS, Akeyless, GCP, GitHub
Unused SecretMediumA secret that has never been used since it was created (minimum age 30 days)AWS, Akeyless, GCP, GitHub
Stale SecretMediumA secret that hasn't been used in the last 90 daysAWS, Akeyless, GCP, GitHub
Cross-Account Access via Resource PolicyMediumA resource policy that allows access from an external accountAWS, Akeyless, GCP
Revoked Secret Found in Git HistoryMediumA revoked or rotated credential that still exists in git historyGitHub code secrets
Missing MetadataLowA secret that lacks tags, labels, or documentationAWS, Akeyless, GCP, Azure, GitHub, Kubernetes
Excessive VersionsLowA secret with more than 10 retained versionsAWS, Akeyless, GCP
Unvalidated Secret Pattern in CodeLowA secret-like pattern found in code that hasn't been validated as a real credentialGitHub code secrets

What's Next


Did this page help you?
Footer Section