CreateSampleFindings
Source:
src/AWS/GuardDuty/CreateSampleFindings.ts
Runtime binding for guardduty:CreateSampleFindings.
Generates sample findings of the requested types — the standard way to exercise a finding-consumer pipeline end-to-end without staging a real threat.
The detector id is injected from the bound Detector.
Provide the implementation with
Effect.provide(AWS.GuardDuty.CreateSampleFindingsHttp).
Working with Findings
Section titled “Working with Findings”// initconst createSampleFindings = yield* AWS.GuardDuty.CreateSampleFindings(detector);
// runtimeyield* createSampleFindings({ FindingTypes: ["Recon:EC2/PortProbeUnprotectedPort"],});