github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/ecr/AVD-AWS-0030/CloudFormation.md (about) 1 2 Enable ECR image scanning 3 4 ```yaml--- 5 Resources: 6 GoodExample: 7 Type: AWS::ECR::Repository 8 Properties: 9 RepositoryName: "test-repository" 10 ImageTagImmutability: IMMUTABLE 11 ImageScanningConfiguration: 12 ScanOnPush: True 13 EncryptionConfiguration: 14 EncryptionType: KMS 15 KmsKey: "alias/ecr-key" 16 17 ``` 18 19