Check ID:
Provider: AWS
Service:
Severity: LOW
Categories:
Resource type:
s3_bucket_object_lockProvider: AWS
Service:
s3Severity: LOW
Categories:
resilienceResource type:
AwsS3BucketWhat this check verifies
Amazon S3 buckets have Object Lock enabled at the bucket level, applying WORM controls to object versionsRisk
Without Object Lock, object versions can be deleted or overwritten, undermining data integrity and availability. Threats include ransomware erasing backups, insider or mistaken deletions, and tampering that defeats recovery. Inability to enforce retention or legal holds increases exposure to data loss and compliance gaps.Recommendation
Enable Object Lock for critical data and set appropriate default retention inGOVERNANCE or COMPLIANCE mode.
Apply immutability and least privilege by restricting permissions that bypass retention, and use legal holds when you need indefinite protection for investigations or regulatory requirements.
Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-overview.html
- https://aws.amazon.com/about-aws/whats-new/2018/11/s3-object-lock/
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/aws/S3/object-lock.html
- https://docs.aws.amazon.com/de_de/cli/latest/reference/s3api/put-object-lock-configuration.html
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = s3_bucket_object_lock. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks