Triage a security finding
PATCH
/v1/security/findings/{findingId}Risk acceptance requires a reason and a future expiration. State transitions are validated and written to the security audit log.
How to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| findingId | path | string | Yes | Security finding ID |
Query parameters
None.
Header parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| X-Computer-Agents-Organization | header | string | No | Active organization context. If omitted, the authenticated user's personal organization is used. |
Body schema
Content type: application/json · Required
| Field | Type | Required | Description |
|---|---|---|---|
| status | open | accepted | risk_accepted | false_positive | fixed | Yes | Current lifecycle status. |
| reason | string | No | — |
| expiresAt | string | No | — |
| assignedToUserId | string | No | — |
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Updated findingapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Unique identifier. |
| repositoryId | string | Yes | — |
| repositoryFullName | string | No | — |
| fingerprint | string | Yes | — |
| ruleId | string | No | — |
| title | string | Yes | Display title. |
| summary | string | Yes | — |
| severity | critical | high | medium | low | informational | Yes | — |
| confidence | number | Yes | — |
| exploitability | string | No | — |
| cwe | string[] | No | — |
| cvss | number | No | — |
| status | open | accepted | risk_accepted | false_positive | fixed | Yes | Current lifecycle status. |
| firstSeenRunId | string | No | — |
| lastSeenRunId | string | No | — |
| assignedToUserId | string | No | — |
| resolutionReason | string | No | — |
| resolutionExpiresAt | string | No | — |
| fixedAt | string | No | — |
| metadata | object | No | Free-form metadata object. |
| occurrenceCount | integer | Yes | — |
| createdAt | string | Yes | ISO 8601 timestamp. |
| updatedAt | string | Yes | ISO 8601 timestamp. |
404Resource not foundapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
409Invalid finding state transition
None.