image_scan_findings
Creates, updates, deletes, gets or lists an image_scan_findings resource.
Overview
| Name | image_scan_findings |
| Type | Resource |
| Id | aws.ecr.image_scan_findings |
Fields
The following fields are returned by SELECT queries:
- describe_image_scan_findings
| Name | Datatype | Description |
|---|---|---|
image_id | object | An object with identifying information for an image in an Amazon ECR repository. |
image_scan_findings | object | The information contained in the image scan findings. |
image_scan_status | object | The current state of the scan. |
next_token | string | The 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_id | string | The registry ID associated with the request. (pattern: <code>[0-9]{12}</code>) |
repository_name | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_image_scan_findings | select | region | Returns 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_image_scan_findings
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
;