bulkUpsertCveDisposition
Mutation
Gives many CVEs identified in your org the same new disposition (status, reason and optional comment) in one call, recorded as yours with the current time. Findings already at that status, closed findings (REMEDIATED, ACCEPTED_RISK, FALSE_POSITIVE) unless includeClosed is set, and ids that are not found are skipped. Sends one summary notification for the whole batch instead of one per finding. Returns how many were updated and skipped, and what happened to each id.
bulkUpsertCveDisposition(comment: String, identifiedCveIds: [String], includeClosed: Boolean, reason: String, status: CVEDispositionStatusInput): CVEBulkUpsertDispositionResponse
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
comment | String | Optional note added to each new disposition, at most 10,000 characters. Unlike reason, it is one entry in the disposition's comment thread, which can be added to later. | |
identifiedCveIds | [String] | The identified CVE ids, at most 1,000; duplicates are counted once. | |
includeClosed | Boolean | Also update findings whose current status is closed (REMEDIATED, ACCEPTED_RISK or FALSE_POSITIVE), e.g. to reopen them. False by default, which skips them. | |
reason | String | Why the findings get this status (e.g. why the risk is accepted, or how it was remediated), at most 2,000 characters. Stored on each new disposition. | |
status | CVEDispositionStatusInput | The new status. Required. |
Returns
CVEBulkUpsertDispositionResponse: The result of bulkUpsertCveDisposition.
Example
Request
mutation BulkUpsertCveDisposition {
bulkUpsertCveDisposition {
skipped
updated
}
}