Skip to content

ListImageScanFindingAggregations

Source: src/AWS/ImageBuilder/ListImageScanFindingAggregations.ts

Runtime binding for imagebuilder:ListImageScanFindingAggregations.

Returns Amazon Inspector finding counts grouped by severity — for the whole account, or grouped by one key (imagePipelineArn, imageBuildVersionArn, accountId, vulnerabilityId) when a filter is supplied. Provide the implementation with Effect.provide(AWS.ImageBuilder.ListImageScanFindingAggregationsHttp).

// init — account-level binding, no resource argument
const listImageScanFindingAggregations =
yield* AWS.ImageBuilder.ListImageScanFindingAggregations();
// runtime
const { responses } = yield* listImageScanFindingAggregations({
filter: { name: "imagePipelineArn", values: [pipelineArn] },
});