GetFindingsStatistics
Source:
src/AWS/GuardDuty/GetFindingsStatistics.ts
Runtime binding for guardduty:GetFindingsStatistics.
Aggregates the detector’s findings into statistics (grouped by severity, account, resource, or finding type) for dashboards and alert thresholds.
The detector id is injected from the bound Detector.
Provide the implementation with
Effect.provide(AWS.GuardDuty.GetFindingsStatisticsHttp).
Working with Findings
Section titled “Working with Findings”// initconst getFindingsStatistics = yield* AWS.GuardDuty.GetFindingsStatistics(detector);
// runtimeconst { FindingStatistics } = yield* getFindingsStatistics({ GroupBy: "SEVERITY",});