Starts an image vulnerability scan. An image scan can only be started once per day on an individual image. This limit includes if an image was scanned on initial push. For more information, see Image Scanning in the Amazon Elastic Container Registry User Guide.
ecr_start_image_scan(registryId, repositoryName, imageId)
A list with the following syntax:
list(
registryId = "string",
repositoryName = "string",
imageId = list(
imageDigest = "string",
imageTag = "string"
),
imageScanStatus = list(
status = "IN_PROGRESS"|"COMPLETE"|"FAILED",
description = "string"
)
)
The AWS account ID associated with the registry that contains the repository in which to start an image scan request. If you do not specify a registry, the default registry is assumed.
[required] The name of the repository that contains the images to scan.
[required]
svc$start_image_scan(
registryId = "string",
repositoryName = "string",
imageId = list(
imageDigest = "string",
imageTag = "string"
)
)