Panther low experimental python
AWS S3 Unauthenticated Access
Checks for S3 access attempts where the requester is not an authenticated AWS user.
Detection Logic
from panther_aws_helpers import aws_rule_context
# A list of buckets where authenticated access is expected
AUTH_BUCKETS = {"example-bucket"}
def rule(event):
return event.get("bucket") in AUTH_BUCKETS and not event.get("requester")
def title(event):
return f"Unauthenticated access to S3 Bucket [{event.get('bucket', '<UNKNOWN_BUCKET')}]"
def alert_context(event):
return aws_rule_context(event) Field Validations
Loading…
Comments (0)
Loading comments...