Mutation
update_issue_record_severity
Updates the severity of a single issue record.
Arguments
input: UpdateIssueRecordSeverityInput!
Specifies the issue record to update and the new severity.
Input Fields
id():
ID!
The ID of the issue record whose severity should be changed.
severity():
Severity!
The new severity to apply to the issue record.
note():
String
An optional note describing why the severity was changed, recorded against the change.
allow_scan_override():
Boolean
Whether future scans may overwrite this issue record's severity. Defaults to false when omitted —
a user-set severity is left untouched by scans unless this is explicitly true.
Return Fields
issue_record():
IssueRecord
The updated issue record.
Example
Query
mutation UpdateIssueRecordSeverity($input: UpdateIssueRecordSeverityInput!) {
update_issue_record_severity(input: $input) {
issue_record {
id
severity
}
}
}
Variables
{
"input": {
"id": "42",
"severity": "low",
"note": "Impact is limited on this host"
}
}
Result
{
"data": {
"update_issue_record_severity": {
"issue_record": {
"id": "42",
"severity": "low"
}
}
}
}