Skip to Content
NHI

Triage NHI findings in bulk

Triage every finding named by ids or matching a filter in one request.

PATCH
/nhi/findings

Triage every finding named by ids or matching a filter in one request.

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

Bearer token authentication. Send an API key (a saai_api_-prefixed token) as Authorization: Bearer <token>.

Required permission

manage_nhi

Request Body

application/json
  1. body

Triage many findings at once: name them by ids or by filter, never both. Only open findings are acknowledged or dismissed, and only acknowledged or dismissed ones reopened; the rest are skipped.

status*NhiFindingStatus

resolved is set only by a sync and is refused with 400.

Value in"open""acknowledged""dismissed""resolved"
ids?array<>
Items1 <= items <= 500
filter?

Every finding matching it, up to 5,000; more is refused with 400.

Response Body

The request has succeeded.

application/json
  1. response

What a bulk status change did: findings outside its filter, or already at the target status, are not counted.

changed*integer

How many findings changed status.

Formatint64
Example Request
curl -X PATCH 'https://your-org.aisecurity.services.us.connect.secureauth.com/api/v1/nhi/findings' \  -H 'Content-Type: application/json' \  -d '{  "status": "open"}'
Example Response
{  "changed": 0}