The book AWS Cookbook section 1.2 is on 'Generating a Least Privilege IAM Policy Based on Access Patterns'.
[1] https://www.oreilly.com/library/view/aws-cookbook/9781492092...
[2] https://docs.aws.amazon.com/IAM/latest/UserGuide/access-anal...
[1] https://www.oreilly.com/library/view/aws-cookbook/9781492092...
[2] https://docs.aws.amazon.com/IAM/latest/UserGuide/access-anal...
We have some buckets where the cloud trail storage with 1y retention is more than the bucket itself.