Skip to content

ImageScanningConfiguration

Source code in docs_src/capo_imagebuilder/types/image_scanning_configuration.py
class ImageScanningConfiguration(TypedDict, closed=True):
    image_scanning_enabled: NotRequired[
        "capo_imagebuilder.types.nullable_boolean.NullableBoolean"
    ]
    """<p>Specifies whether Amazon Inspector scans for vulnerabilities when you create a new image, and whether Image Builder saves the findings. Amazon Inspector must be enabled in the account. Image tests must also be enabled. For AMI output, Amazon Inspector scans the test instance. For container output, Amazon Inspector scans the container image that Image Builder pushes to the Amazon ECR repository from your <code>ecrConfiguration</code> settings.</p>"""
    ecr_configuration: NotRequired[
        "capo_imagebuilder.types.ecr_configuration.EcrConfiguration"
    ]
    """<p>Contains Amazon ECR settings for vulnerability scans.</p>"""

ecr_configuration instance-attribute

ecr_configuration: NotRequired[EcrConfiguration]

Contains Amazon ECR settings for vulnerability scans.

image_scanning_enabled instance-attribute

image_scanning_enabled: NotRequired[NullableBoolean]

Specifies whether Amazon Inspector scans for vulnerabilities when you create a new image, and whether Image Builder saves the findings. Amazon Inspector must be enabled in the account. Image tests must also be enabled. For AMI output, Amazon Inspector scans the test instance. For container output, Amazon Inspector scans the container image that Image Builder pushes to the Amazon ECR repository from your ecrConfiguration settings.