The PutImageScanningConfiguration API is being deprecated, in favor of specifying the image scanning configuration at the registry level¶
Description¶
The put_image_scanning_configuration API is being deprecated, in favor of specifying the image scanning configuration at the registry level. For more information, see put_registry_scanning_configuration.
Updates the image scanning configuration for the specified repository.
Usage¶
Arguments¶
-
registryIdThe Amazon Web Services account ID associated with the registry that contains the repository in which to update the image scanning configuration setting. If you do not specify a registry, the default registry is assumed.
-
repositoryName[required] The name of the repository in which to update the image scanning configuration setting.
-
imageScanningConfiguration[required] The image scanning configuration for the repository. This setting determines whether images are scanned for known vulnerabilities after being pushed to the repository.
Value¶
A list with the following syntax:
list(
registryId = "string",
repositoryName = "string",
imageScanningConfiguration = list(
scanOnPush = TRUE|FALSE
)
)