S3 bucket does not have versioning enabled

Severity
Info
Service
S3
Check ID
S3_VERSIONING_DISABLED

What this check finds

Without versioning, objects that are overwritten or deleted cannot be recovered. This makes the bucket vulnerable to accidental deletion, ransomware attacks that overwrite objects, and misconfigured deployments that overwrite production data.

Passing looks like: S3 versioning enabled.

How to fix it

Enable versioning on the bucket.

AWS CLI

  1. aws s3api put-bucket-versioning --bucket BUCKET_NAME --versioning-configuration Status=Enabled

Names in capitals are placeholders for your own resource. Review a command before you run it.

AWS console

S3 → Bucket → Properties → Bucket Versioning → Edit → Enable.

Compliance controls it is evidence for

A failing result counts against these controls in KloudLytics; a passing one is evidence towards them. How compliance mapping works

Compliance controls mapped to S3 bucket does not have versioning enabled
FrameworkControls
HIPAA Security Rule
  • 164.308(a)(7) Contingency Plan — Data Backup, Disaster Recovery, Emergency Mode
  • 164.312(c)(2) Mechanism to Authenticate ePHI
NIST SP 800-53 Rev5 (Moderate)
  • CP-9 System Backup
NIST Cybersecurity Framework 2.0
  • PR.DS-11 Backups of data are created and protected
ISO/IEC 27001:2022 Annex A
  • A.5.30 ICT readiness for business continuity
  • A.5.33 Protection of records
  • A.8.13 Information backup

Checked on every scan

KloudLytics runs this check each time it scans a connected AWS account, through a read-only role, and lists every affected resource with its region. On Pro and Business a fix is written for the specific resource rather than the general case above. The exact access it needs

More S3 checks

All S3 checks

Find out what is actually exposed in your AWS environment.

Connect one AWS account and run your first security assessment.

No credit card · Agentless · Read-only