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
| Argument | Type | Default | Description |
|---|---|---|---|
disposition | CVEDispositionInput | status (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. | |
identifiedCveId | String | The identified CVE's id. |
Returns
Example
Request
mutation UpsertCveDisposition($disposition: CVEDispositionInput) {
upsertCveDisposition(disposition: $disposition) {
id
}
}