Drata validates that object-level logging for read and write events is enabled for AWS S3 buckets. 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.
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.
ASSOCIATED DRATA CONTROL
This test is part of the Audit Logging control (DCF-406) that ensures audit logs are enabled and active for all system components and sensitive data in accordance with company policies.
WHAT TO DO IF A TEST FAILS
If Drata finds that object-level logging for read and write events is not enabled for AWS S3 buckets, the test will fail.
STEPS TO REMEDIATE
From the AWS S3 dashboard, select an S3 bucket and click on 'Properties'.
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.
Once the Cloudtrail is selected, select the data 'Data Events' checkbox.
Select S3 from the 'Data Event Type' drop down and select 'Log All Events' from the log selector template drop down.
Center for Internet Security (CIS)
This test aligns with the Center for Internet Security’s (CIS) foundation benchmarks which provides prescriptive guidance for establishing a secure baseline configuration for Amazon Web Services. To learn more, refer to the Center for Internet Security (CIS) section.