image_scan_findings
Creates, updates, deletes, gets or lists an image_scan_findings resource.
Overview
| Name | image_scan_findings |
| Type | Resource |
| Id | aws.imagebuilder.image_scan_findings |
Fields
The following fields are returned by SELECT queries:
- list_image_scan_findings
| Name | Datatype | Description |
|---|---|---|
aws_account_id | string | The Amazon Web Services account ID that's associated with the finding. |
description | string | The description of the finding. |
first_observed_at | string (date-time) | The date and time when the finding was first observed. |
fix_available | string | Details about whether a fix is available for any of the packages that are identified in the finding through a version update. |
image_build_version_arn | string | The Amazon Resource Name (ARN) of the image build version that's associated with the finding. (pattern: <code>^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws(?:-[a-z-]+)?):image/[a-z0-9-_]+/[0-9]+.[0-9]+.[0-9]+/[0-9]+$</code>) |
image_pipeline_arn | string | The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding. (pattern: <code>^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):image-pipeline/[a-z0-9-_]+$</code>) |
inspector_score | number (double) | The score that Amazon Inspector assigned for the finding. |
inspector_score_details | object | An object that contains details of the Amazon Inspector score. |
package_vulnerability_details | object | An object that contains the details of a package vulnerability finding. |
remediation | object | An object that contains the details about how to remediate the finding. |
severity | string | The severity of the finding. |
title_ | string | The title of the finding. |
type_ | string | The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY that apply to output images, and excludes other types. |
updated_at | string (date-time) | The timestamp when the finding was last updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_image_scan_findings | select | region | Returns a list of image scan findings for your account. |
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
- list_image_scan_findings
Returns a list of image scan findings for your account.
SELECT
aws_account_id,
description,
first_observed_at,
fix_available,
image_build_version_arn,
image_pipeline_arn,
inspector_score,
inspector_score_details,
package_vulnerability_details,
remediation,
severity,
title_,
type_,
updated_at
FROM aws.imagebuilder.image_scan_findings
WHERE region = '{{ region }}' -- required
;