GetFindings
Source:
src/AWS/SecurityHub/GetFindings.ts
Runtime binding for securityhub:GetFindings.
Returns findings that match the specified filter criteria. With cross-Region aggregation enabled, the home Region returns matching findings from all linked Regions.
Account-level operation — invoked with the caller’s request as-is.
Provide the implementation with
Effect.provide(AWS.SecurityHub.GetFindingsHttp).
Working with Findings
Section titled “Working with Findings”// init — account-level binding, no resource argumentconst getFindings = yield* AWS.SecurityHub.GetFindings();
// runtimeconst { Findings } = yield* getFindings({ Filters: { SeverityLabel: [{ Value: "HIGH", Comparison: "EQUALS" }] }, MaxResults: 25,});