(CDK-ECR): (ECR repositories should have at least one lifecycle policy configured) #25078
Labels
@aws-cdk/aws-ecr
Related to Amazon Elastic Container Registry
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p1
Describe the bug
We have migrated our 140 accounts to AWS CDK.
As a company policy, we follow AWS Security best practices and as a part of that we have enabled Security Hub Standard - AWS Foundational Security Best Practices v1.0.0
Security Hub Standard does show a finding that -> ECR repositories should have at least one lifecycle policy configured.
ECR created by CDK is showing this finding across all accounts.
Requesting you to fix that.
Expected Behavior
ECR created by CDK should follow AWS defined Security standard and should have life cycle policy configured.
Current Behavior
ECR repositories should have does not have lifecycle policy configured.
Reproduction Steps
NA
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.69.0
Framework Version
No response
Node.js Version
NA
OS
Linux
Language
Python
Language Version
Python 3.9
Other information
No response
The text was updated successfully, but these errors were encountered: