image_scan_finding_aggregations
Creates, updates, deletes, gets or lists an image_scan_finding_aggregations resource.
Overview
| Name | image_scan_finding_aggregations |
| Type | Resource |
| Id | aws.imagebuilder.image_scan_finding_aggregations |
Fields
The following fields are returned by SELECT queries:
- list_image_scan_finding_aggregations
| Name | Datatype | Description |
|---|---|---|
account_aggregation | object | Returns an object that contains severity counts based on an account ID. |
image_aggregation | object | Returns an object that contains severity counts based on the Amazon Resource Name (ARN) for a specific image. |
image_pipeline_aggregation | object | Returns an object that contains severity counts based on an image pipeline ARN. |
vulnerability_id_aggregation | object | Returns an object that contains severity counts based on vulnerability ID. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_image_scan_finding_aggregations | select | region | Returns a list of image scan aggregations for your account. You can filter by the type of key that Image Builder uses to group results. For example, if you want to get a list of findings by severity level for one of your pipelines, you might specify your pipeline with the imagePipelineArn filter. If you don't specify a filter, Image Builder returns an aggregation for your account. To streamline results, you can use the following filters in your request: accountId imageBuildVersionArn imagePipelineArn vulnerabilityId |
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_finding_aggregations
Returns a list of image scan aggregations for your account. You can filter by the type of key that Image Builder uses to group results. For example, if you want to get a list of findings by severity level for one of your pipelines, you might specify your pipeline with the imagePipelineArn filter. If you don't specify a filter, Image Builder returns an aggregation for your account. To streamline results, you can use the following filters in your request: accountId imageBuildVersionArn imagePipelineArn vulnerabilityId
SELECT
account_aggregation,
image_aggregation,
image_pipeline_aggregation,
vulnerability_id_aggregation
FROM aws.imagebuilder.image_scan_finding_aggregations
WHERE region = '{{ region }}' -- required
;