This rule ensures that S3 bucket versioning is enabled to maintain data integrity and facilitate recovery.
Rule | S3 bucket versioning should be enabled |
Framework | FedRAMP Low Revision 4 |
Severity | ✔ High |
Rule Description
The rule requires that versioning is enabled for Amazon S3 buckets in compliance with the FedRAMP Low Revision 4 security requirements. Versioning allows you to preserve, retrieve, and restore every version of every object in an S3 bucket. This helps in maintaining data integrity and enables recovery from accidental deletions or modifications. Enabling versioning provides an additional layer of protection and aligns with the security measures mandated by FedRAMP Low Revision 4.
Troubleshooting Steps
If versioning is not enabled for an S3 bucket, follow these troubleshooting steps to rectify the issue:
Necessary Codes
If versioning is not already enabled for an S3 bucket, you can enable it using either the AWS Command Line Interface (CLI) or the AWS Management Console.
AWS CLI Command
To enable versioning for an S3 bucket using the AWS CLI, follow these steps:
aws s3api put-bucket-versioning --bucket bucket-name --versioning-configuration Status=Enabled
AWS Management Console
To enable versioning for an S3 bucket using the AWS Management Console, follow these steps:
Remediation Steps
To remediate non-compliance with the S3 bucket versioning rule, follow these step-by-step guides for using either the AWS CLI or the AWS Management Console.
AWS CLI Remediation
aws s3api put-bucket-versioning --bucket bucket-name --versioning-configuration Status=Enabled
AWS Management Console Remediation
By following these remediation steps, you will ensure that versioning is enabled for the specified S3 bucket, thereby meeting the requirements of the FedRAMP Low Revision 4 security policy.