Put Registry Scanning Configuration
ecr_put_registry_scanning_configuration | R Documentation |
Creates or updates the scanning configuration for your private registry¶
Description¶
Creates or updates the scanning configuration for your private registry.
Usage¶
Arguments¶
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.rules
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.
Value¶
A list with the following syntax:
list(
registryScanningConfiguration = list(
scanType = "BASIC"|"ENHANCED",
rules = list(
list(
scanFrequency = "SCAN_ON_PUSH"|"CONTINUOUS_SCAN"|"MANUAL",
repositoryFilters = list(
list(
filter = "string",
filterType = "WILDCARD"
)
)
)
)
)
)