Skip to content

GetFindingHistory

Source: src/AWS/SecurityHub/GetFindingHistory.ts

Runtime binding for securityhub:GetFindingHistory.

Returns the history of a finding for up to 90 days — every update Security Hub or a provider applied to it. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.SecurityHub.GetFindingHistoryHttp).

// init — account-level binding, no resource argument
const getFindingHistory = yield* AWS.SecurityHub.GetFindingHistory();
// runtime
const { Records } = yield* getFindingHistory({
FindingIdentifier: { Id: findingId, ProductArn: productArn },
});