Who has deleted files in S3 bucket?

Viewed 1973

Which is the best way to find out who deleted files in AWS S3 bucket?

I am working on AWS S3 Bucket. Going through the AWS docs and haven't found the best way to monitor S3 buckets so thought of checking if anyone can help me here.

2 Answers

For monitoring S3 object operations, such as DeleteObject, you have to enable CloudTrial trial with S3 data events:

However, the trials don't work retrospectively. Thus, you have to check if you have such trial enabled in CloudTrial console. If not, then you can create one to monitor any future S3 object level activities for all, or selected, buckets.

To reduce the impact of accidental deletions you can enable object version. And to fully protect against that for important objects, you can use MFA delete.

Related