π AWS Account Object-level CloudTrail Logging for Write Events for S3 Buckets is not enabled π’
- Contextual name: π Object-level CloudTrail Logging for Write Events for S3 Buckets is not enabled π’
- ID:
/ce/ca/aws/account/object-level-cloudtrail-logging-for-write-events-for-buckets
- Located in: π AWS Account
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
RELIABILITY
Similar Policiesβ
- Cloud Conformity
- Internal
dec-x-b443805a
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-b443805a | 3 |
Logicβ
- π§ prod.logic.yaml π’
- π AWS Account
- π AWS CloudTrail Trail - object.extracts.yaml
- π§ͺ test-data.json
Descriptionβ
Descriptionβ
S3 object-level API operations such as GetObject, DeleteObject, and PutObject are called data events. By default, CloudTrail trails don't log data events and so it is recommended to enable Object-level logging for S3 buckets.
Rationaleβ
Enabling object-level logging will help you meet data compliance requirements within your organization, perform comprehensive security analysis, monitor specific patterns of user behavior in your AWS account or take immediate actions on any object-level API activity within your S3 Buckets using Amazon CloudWatch Events.
Impactβ
Enabling logging for these object level events may significantly increase the number of events logged and may incur additional cost.
Auditβ
From Consoleβ
- Login to the AWS Management Console and navigate to CloudTrail dashboard at https://console.aws.amazon.com/cloudtrail/
- In the left panel, click
Trails
and then click on the CloudTrail Name that you want to examine.- Review
General details
.- Confirm that
Multi-region trail
is set toYes
.... see more
Remediationβ
Remediationβ
From Consoleβ
- Login to the AWS Management Console and navigate to S3 dashboard at https://console.aws.amazon.com/s3/.
- In the left navigation panel, click
buckets
and then click on the S3 Bucket Name that you want to examine.- Click
Properties
tab to see in detail bucket configuration.- In the
AWS Cloud Trail data events
section select the CloudTrail name for the recording activity. You can choose an existing Cloudtrail or create a new one by slicking theConfigure in Cloudtrail
button or navigating to the Cloudtrail console https://console.aws.amazon.com/cloudtrail/`.- Once the Cloudtrail is selected, Select the data
Data Events
check box.- Select
S3
from theData event type
drop down.- Select
Log all events
from theLog selector template
drop down.- Repeat steps 2 to 7 to enable object-level logging of write events for other S3 buckets.
From Command Lineβ
- To enable
object-level
data events logging for S3 buckets within your AWS account, runput-event-selectors
command using the name of the trail that you want to reconfigure as identifier:... see more