ecr: enable enhanced image scanning #26536
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.
needs-cfn
This issue is waiting on changes to CloudFormation before it can be addressed.
p3
Describe the feature
Add CDK methods to enable enhanced image scanning for ECR repositories
https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning-enhanced.html
Use Case
I would like to enable enhanced image scanning through CDK. The alternative route right now is to create a CFN stack using custom resources that invoke the AWS SDK.
Proposed Solution
Enabling enhanced image scanning is account wide, so updating the ImageScanningConfiguration Interface, which applies to a single repository, doesn't make much sense.
Instead, an ideal solution would be a top level method of
aws_ecr
, maybe something like:Other Information
No response
Acknowledgements
CDK version used
v2
Environment details (OS name and version, etc.)
macOS 13.4
The text was updated successfully, but these errors were encountered: