ListFindingsV2
Source:
src/AWS/AccessAnalyzer/ListFindingsV2.ts
Runtime binding for the ListFindingsV2 operation (IAM action
access-analyzer:ListFindings — shared with the V1 API).
Lists the analyzer’s findings (external-access and unused-access), with
optional filter and sort criteria. Provide the implementation with
Effect.provide(AWS.AccessAnalyzer.ListFindingsV2Http).
Reading Findings
Section titled “Reading Findings”// init — bind the operation to the analyzerconst listFindings = yield* AWS.AccessAnalyzer.ListFindingsV2(analyzer);
// runtime — page through active findingsconst page = yield* listFindings({ filter: { status: { eq: ["ACTIVE"] } }, maxResults: 50,});