Skip to content

PutRegistryScanningConfigurationRequest

Source code in docs_src/capo_ecr/types/put_registry_scanning_configuration_request.py
class PutRegistryScanningConfigurationRequest(TypedDict, closed=True):
    scan_type: NotRequired["capo_ecr.types.scan_type.ScanType"]
    """<p>The scanning type to set for the registry.</p> <p>When a registry scanning configuration is not defined, by default the <code>BASIC</code> scan type is used. When basic scanning is used, you may specify filters to determine which individual repositories, or all repositories, are scanned when new images are pushed to those repositories. Alternatively, you can do manual scans of images with basic scanning.</p> <p>When the <code>ENHANCED</code> scan type is set, Amazon Inspector provides automated vulnerability scanning. You may choose between continuous scanning or scan on push and you may specify filters to determine which individual repositories, or all repositories, are scanned.</p>"""
    rules: NotRequired[
        "capo_ecr.types.registry_scanning_rule_list.RegistryScanningRuleList"
    ]
    """<p>The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.</p>"""

rules instance-attribute

rules: NotRequired[RegistryScanningRuleList]

The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.

scan_type instance-attribute

scan_type: NotRequired[ScanType]

The scanning type to set for the registry.

When a registry scanning configuration is not defined, by default the BASIC scan type is used. When basic scanning is used, you may specify filters to determine which individual repositories, or all repositories, are scanned when new images are pushed to those repositories. Alternatively, you can do manual scans of images with basic scanning.

When the ENHANCED scan type is set, Amazon Inspector provides automated vulnerability scanning. You may choose between continuous scanning or scan on push and you may specify filters to determine which individual repositories, or all repositories, are scanned.