Skip to content

GetInsightResults

Source: src/AWS/SecurityHub/GetInsightResults.ts

Runtime binding for securityhub:GetInsightResults.

Returns the aggregated results of a Security Hub insight, grouped by the insight’s group-by attribute. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.SecurityHub.GetInsightResultsHttp).

// init — account-level binding, no resource argument
const getInsightResults = yield* AWS.SecurityHub.GetInsightResults();
// runtime
const { InsightResults } = yield* getInsightResults({
InsightArn: insight.insightArn,
});