Low S3

S3 general purpose buckets should have Lifecycle configurations

NIST

Description

Checks if S3 buckets have lifecycle policies configured.


Remediation

To configure lifecycle policies for an S3 bucket, follow these steps:

Steps

  1. Sign in to the AWS Management Console and open the Amazon S3 console.
  2. In the Buckets list, choose the name of the bucket for which you want to configure a lifecycle policy.
  3. Choose the 'Management' tab.
  4. Under 'Lifecycle', choose 'Add lifecycle rule'.
  5. Provide a name for the lifecycle rule and set the rule scope. You can apply the rule to all objects in the bucket or filter to apply to specific objects.
  6. Specify the lifecycle rule actions, such as transitioning objects to another storage class, archiving them to Amazon Glacier, or permanently deleting them after a specified period.
  7. Review the rule configuration and choose 'Save'.

Compliance

NIST