S3 general purpose buckets should have a lifecycle configuration

Description

This check verifies if an Amazon S3 general-purpose bucket has at least one active Lifecycle configuration in place. The check will fail if the bucket has no Lifecycle configurations, or if all Lifecycle configurations are disabled.

Implementing a lifecycle configuration for your S3 bucket allows you to define specific actions for objects throughout their lifecycle. For instance, you can set rules to move objects to a different storage class, archive them, or remove them after a certain period.

Remediation

For guidance on configuring lifecycle policies, refer to the Setting lifecycle configuration on a bucket and Managing your storage lifecycle sections of the Amazon S3 User Guide.

PREVIEWING: antoine.dussault/service-representation-ga-docs-us1