Skip to content

ListFindings

Source: src/AWS/Inspector2/ListFindings.ts

Runtime binding for inspector2:ListFindings.

Lists findings for your environment.

Provide the implementation with Effect.provide(AWS.Inspector2.ListFindingsHttp).

// init
const listFindings = yield* AWS.Inspector2.ListFindings();
// runtime
const { findings } = yield* listFindings({
filterCriteria: { severity: [{ comparison: "EQUALS", value: "CRITICAL" }] },
});