Mark a finding as an exception so it no longer appears in the active Scan Results list
POST
/v1/cloud-security/findings/{findingId}/exception
const url = 'https://api.varman.io/v1/cloud-security/findings/example/exception';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"reason":"Bucket hosts intentionally public marketing assets; writes restricted to the marketing IAM role.","reviewedBy":"Approved by CISO 2026-Q1","expiresAt":"2026-08-13"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/cloud-security/findings/example/exception \ --header 'Content-Type: application/json' \ --data '{ "reason": "Bucket hosts intentionally public marketing assets; writes restricted to the marketing IAM role.", "reviewedBy": "Approved by CISO 2026-Q1", "expiresAt": "2026-08-13" }'Accepts session, API key, or service token auth. For API key / service token callers without an explicit user attribution, the action is attributed to the org’s owner and the audit log description records the calling key/service name.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”findingId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
reason
required
Documentation for why this finding does not apply or is being accepted. Minimum 20 non-whitespace characters.
string
Example
Bucket hosts intentionally public marketing assets; writes restricted to the marketing IAM role.reviewedBy
Free-text reviewer or approval reference.
string
Example
Approved by CISO 2026-Q1expiresAt
ISO date when this exception should auto-expire. Null/missing = never.
string
Example
2026-08-13