You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(bootstrap): ECR repository produces Security Hub finding [ECR.3] because of missing lifecycle policy (#24735)
After enabling AWS Foundational Security Best Practices v1.0.0 in the security hub,
I am always frustrated when I see failed checks.
Similar to #24175 I would like to see a lifecycle rule that does not do much but at least per default resolves the finding.
I know that there is an RFC for garbage collection in the works but this is a simple immediate fix.
_This is heavily inspired by https://github.com/aws/aws-cdk/pull/24175_Closes#24723.
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
0 commit comments