Update a cloud finding status, assignee or note
const url = 'https://api.varman.io/v1/cloud-security/finding-states/example';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"status":"open","assigneeId":"mem_6ac8c78973265fc8bc6d4507","comment":"Waiting on the platform team to rotate the key.","reason":"Bucket serves public marketing assets; writes limited to one role.","expiresAt":"2027-02-28"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.varman.io/v1/cloud-security/finding-states/example \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "status": "open", "assigneeId": "mem_6ac8c78973265fc8bc6d4507", "comment": "Waiting on the platform team to rotate the key.", "reason": "Bucket serves public marketing assets; writes limited to one role.", "expiresAt": "2027-02-28" }'Sets status (open, in progress, fixed, risk accepted, false positive), assignee and note of a cloud finding. Risk accepted and false positive need a reason and hide the finding until expiresAt (default 90 days).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Organization ID (required for session auth, optional for API key auth)
Request Bodyrequired
Section titled “Request Bodyrequired”object
Workflow status. risk_accepted and false_positive need a reason and hide the finding from results and scores until expiresAt.
Example
risk_acceptedMember ID to assign the finding to, or null to unassign
Example
mem_6ac8c78973265fc8bc6d4507Free text note on the finding, or null to clear it
Example
Waiting on the platform team to rotate the key.Why the risk is accepted or the finding is a false positive. Required with those statuses, at least 20 characters.
Example
Bucket serves public marketing assets; writes limited to one role.When the risk acceptance or false positive expires and the finding counts again. YYYY-MM-DD or ISO timestamp. Defaults to 90 days.
Example
2027-02-28Responses
Section titled “Responses”Finding updated
Finding not found in this organization