Skip to main content

image_scan_findings

Creates, updates, deletes, gets or lists an image_scan_findings resource.

Overview

Nameimage_scan_findings
TypeResource
Idaws.ecr.image_scan_findings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
image_idobjectAn object with identifying information for an image in an Amazon ECR repository.
image_scan_findingsobjectThe information contained in the image scan findings.
image_scan_statusobjectThe current state of the scan.
next_tokenstringThe nextToken value to include in a future DescribeImageScanFindings request. When the results of a DescribeImageScanFindings request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
registry_idstringThe registry ID associated with the request. (pattern: <code>[0-9]{12}</code>)
repository_namestringThe repository name associated with the request. (pattern: <code>[a-z0-9]+((.||__|-+)[a-z0-9]+)*(/[a-z0-9]+((.||__|-+)[a-z0-9]+))</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_image_scan_findingsselectregionReturns the scan findings for the specified image.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the scan findings for the specified image.

SELECT
image_id,
image_scan_findings,
image_scan_status,
next_token,
registry_id,
repository_name
FROM aws.ecr.image_scan_findings
WHERE region = '{{ region }}' -- required
;