Skip to main content

upsertCveDisposition

Mutation

Sets the status of a CVE identified in your org by adding a disposition (status, reason and optional comments), recorded as yours with the current time; the newest disposition is the finding's currentStatus. With disposition.id set, it instead changes the status and reason of that existing disposition, keeping its author, date and comments; dispositions made automatically by a scan cannot be changed (add a new one instead). Adding a disposition sends a notification; changing one sends one only when the finding's current status changes. Returns the disposition's id.

upsertCveDisposition(disposition: CVEDispositionInput, identifiedCveId: String): CVEUpsertDispositionResponse

Arguments​

ArgumentTypeDefaultDescription
dispositionCVEDispositionInputstatus (required) and reason, plus id to change an existing disposition and comments to add notes to a new one. date, actor, automated, and each comment's id, author and date are set by the server; values sent for them are ignored.
identifiedCveIdStringThe identified CVE's id.

Returns​

CVEUpsertDispositionResponse

Example​

Request
mutation UpsertCveDisposition($disposition: CVEDispositionInput) {
upsertCveDisposition(disposition: $disposition) {
id
}
}