Ensure that S3 bucket versioning is enabled to maintain data integrity and protect against accidental deletions.
Rule | S3 bucket versioning should be enabled |
Framework | NIST Cybersecurity Framework (CSF) v1.1 |
Severity | ✔ High |
Rule Description:
S3 bucket versioning should be enabled to align with the security controls of the NIST Cybersecurity Framework (CSF) v1. Versioning helps in preserving multiple versions of an object within an S3 bucket, providing backup and recovery capabilities, as well as protection against accidental deletion or modification of data.
Enabling versioning ensures that all modifications made to objects stored within the S3 bucket are tracked and preserved, allowing for easy restoration to a previous state if necessary.
Troubleshooting Steps:
If versioning is not enabled for an S3 bucket, follow these steps to troubleshoot and enable versioning:
Step 1: Verify Bucket Properties
Step 2: Check Versioning Status
Step 3: Enable Versioning
Step 4: Verify Versioning Status
Necessary Codes:
No code is necessary for enabling versioning for an S3 bucket. This process can be achieved entirely through the AWS Management Console.
Remediation Steps:
To enable versioning for an S3 bucket, follow these step-by-step guide:
Note: Enabling versioning does not retroactively apply it to any existing objects in the bucket. It will only track modifications made to objects after versioning is enabled.