Skip to main content

image_scan_findings

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

Overview

Nameimage_scan_findings
TypeResource
Idaws.imagebuilder.image_scan_findings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
aws_account_idstringThe Amazon Web Services account ID that's associated with the finding.
descriptionstringThe description of the finding.
first_observed_atstring (date-time)The date and time when the finding was first observed.
fix_availablestringDetails about whether a fix is available for any of the packages that are identified in the finding through a version update.
image_build_version_arnstringThe 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_arnstringThe 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_scorenumber (double)The score that Amazon Inspector assigned for the finding.
inspector_score_detailsobjectAn object that contains details of the Amazon Inspector score.
package_vulnerability_detailsobjectAn object that contains the details of a package vulnerability finding.
remediationobjectAn object that contains the details about how to remediate the finding.
severitystringThe severity of the finding.
title_stringThe title of the finding.
type_stringThe type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY that apply to output images, and excludes other types.
updated_atstring (date-time)The timestamp when the finding was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_image_scan_findingsselectregionReturns 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.

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

SELECT examples

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
;