You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type: notify
template: custodiandefault.html
priority_header: 2
to:
resource-owner
subject: "[cloud-custodian {{ account }}] Publicly Exposed S3 Buckets discovered [{{ region }}]"
violation_desc: "one or more statements in the bucket policy allowed access from AWS accounts"
action_desc: "these statements have been removed from the bucket policy"
questions_email: [email protected]
questions_slack: general
transport:
type: sqs
queue: queue url removed here
mode:
type: cloudtrail
events:
source: s3.amazonaws.com
event: PutBucketPolicy
ids: "requestParameters.bucketName"
role: role removed here
This discussion was converted from issue #4984 on June 01, 2022 14:59.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
policies:
name: kumar-s3-global-policy
description: looks for s3 bucket policies containing cross account permissions to accounts
resource: s3
filters:
statements:
Action: 's3:'
Principal: ''
Resource: "arn:aws:s3:::{bucket_name}
actions:
statement_ids: matched
template: custodiandefault.html
priority_header: 2
to:
subject: "[cloud-custodian {{ account }}] Publicly Exposed S3 Buckets discovered [{{ region }}]"
violation_desc: "one or more statements in the bucket policy allowed access from AWS accounts"
action_desc: "these statements have been removed from the bucket policy"
questions_email: [email protected]
questions_slack: general
transport:
type: sqs
queue: queue url removed here
mode:
type: cloudtrail
events:
event: PutBucketPolicy
ids: "requestParameters.bucketName"
role: role removed here
Beta Was this translation helpful? Give feedback.
All reactions