Secret Exposed and not Quarantined
Description
The rule detects when a GitHub Secret Scan detects an exposed secret, which is not followed by the expected quarantine operation in AWS. When you make a repository public, or push changes to a public repository, GitHub always scans the code for secrets that match partner patterns. Public packages on the npm registry are also scanned. If secret scanning detects a potential secret, we notify the service provider who issued the secret. The service provider validates the string and then decides whether they should revoke the secret, issue a new secret, or contact you directly. Their action will depend on the associated risks to you or them.
Query
Detection:
- Group:
- ID: SecretNotQuarantined
RuleID: AWS.CloudTrail.IAMCompromisedKeyQuarantine
Absence: true
- ID: SecretFound
RuleID: GitHub.Secret.Scanning.Alert.Created
Schedule:
RateMinutes: 1440
TimeoutMinutes: 10
LookbackWindowMinutes: 1800
Rule dependencies
⚠ Higher-order rule. It fires on other rules' alerts, not on raw events, so it cannot fire on its own. Deploy the rules it depends on too.
Depends on
-
correlates · Panther group
GitHub.Secret.Scanning.Alert.Createdwithin 1800m
Excludes
AWS.CloudTrail.IAMCompromisedKeyQuarantine— excluded, not a dependency