Panther critical experimental python
AWS GuardDuty Critical Severity Finding
Detects critical-severity findings (9.0/9.0) from AWS GuardDuty indicating active compromise, imminent data loss, or ongoing attacks. GuardDuty uses machine learning and threat intelligence to identify compromised credentials, cryptocurrency mining, data exfiltration, and connections to malicious infrastructure. This rule filters out sample data and alerts only on genuine critical threats requiring immediate investigation.
Detection Logic
from panther_aws_helpers import aws_guardduty_context
def rule(event):
if event.deep_get("service", "additionalInfo", "sample"):
# in case of sample data
# https://docs.aws.amazon.com/guardduty/latest/ug/sample_findings.html
return False
return 9.0 <= float(event.get("severity", 0)) <= 10.0
def title(event):
return event.get("title")
def alert_context(event):
return aws_guardduty_context(event) Field Validations
Loading…
Comments (0)
Loading comments...