Skip to content

BatchUpdateFindings

Source: src/AWS/SecurityHub/BatchUpdateFindings.ts

Runtime binding for securityhub:BatchUpdateFindings.

Updates workflow status, severity, notes, and other customer-editable fields on one or more findings. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.SecurityHub.BatchUpdateFindingsHttp).

// init — account-level binding, no resource argument
const batchUpdateFindings = yield* AWS.SecurityHub.BatchUpdateFindings();
// runtime
yield* batchUpdateFindings({
FindingIdentifiers: [{ Id: findingId, ProductArn: productArn }],
Workflow: { Status: "RESOLVED" },
});