0
votes

we are checking if lifecycle policies are applied (compliant) to all prefixes individually ( not inherited from parent bucket) . we are capturing the event from AWS config and if the lifecycle policy is changed. Is there a way to trace which lifecycle rule has changed or which prefix lifecycle has changed. So we dont have to scan all the prefixes in bucket and check the if lifecycle policy is compliant only check the prefix whose rule has changed .

1

1 Answers

0
votes

check in cloudtrail if event PutBucketLifecycleConfiguration has been created on bucket. this event PutBucketLifecycleConfiguration is used for creating new bucket lifecycle policy or update existing life cycle policy.