v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1441293181.2 KB

Starts an image vulnerability scan. An image scan can only be started once per 24 hours on an individual image. This limit includes if an image was scanned on initial push. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image scanning</a> in the <i>Amazon Elastic Container Registry User Guide</i>.

post/#X-Amz-Target=AmazonEC2ContainerRegistry_V20150921.StartImageScan

Headers

X-Amz-Target'AmazonEC2ContainerRegistry_V20150921.StartImageScan' required

Request body

registryIdstring

The Amazon Web Services 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.

repositoryNamestring required

The name of the repository that contains the images to scan.

Response

Success

registryIdstring

The registry ID associated with the request.

repositoryNamestring

The repository name associated with the request.