Update finding
Updates the state, severity, or duplicate_of of a single finding, or any combination of them. Every change is recorded in the finding’s audit trail and passed on to connected integrations (GitHub, Slack, Jira, and Linear).
Request
PATCH /findings/{id}
Send an API key with the write scope in the X-Api-Key header.
Path parameters
| Parameter | Description |
|---|---|
idstring, required | Finding UUID or display id (KEY-FD-NUMBER, e.g. HAC-FD-1104). |
Body
A required application/json body.
| Field | Description |
|---|---|
statestring | New finding state. One of open, true_positive, false_positive, accepted_risk, resolved, or closed. |
severitystring | New severity level. One of critical, high, medium, low, or info. |
state_reasonstring | Reason for the state change (defaults to reason if omitted). |
severity_reasonstring | Reason for the severity change (defaults to reason if omitted). |
reasonstring | Shorthand reason applied to both state and severity changes when their specific reason is not provided. |
duplicate_ofstring, nullable | UUID of the canonical finding to mark this finding as a duplicate of, or null to unmark. The target must be in the same repository. |
Responses
200 OK
| Field | Description |
|---|---|
idstring, required | |
statestring, required | One of open, true_positive, false_positive, accepted_risk, resolved, or closed. |
severitystring, required | One of critical, high, medium, low, or info. |
duplicate_ofstring, required, nullable | UUID of the canonical finding this duplicates, if any. |