Update a pentest finding status or assignee
PATCH
/v1/pentest-findings/{issueId}
const url = 'https://api.varman.io/v1/pentest-findings/example';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"runId":"ptr_6af70c24cbdb331b9425d0a5","status":"open","assigneeId":"mem_6ac8c78973265fc8bc6d4507"}'};
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/pentest-findings/example \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "runId": "ptr_6af70c24cbdb331b9425d0a5", "status": "open", "assigneeId": "mem_6ac8c78973265fc8bc6d4507" }'Sets the workflow status (open, in progress, fixed, risk accepted, false positive) and or the assignee of a pentest finding. A new assignee gets an email. Send assigneeId null to unassign.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”issueId
required
string
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string
Organization ID (required for session auth, optional for API key auth)
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
runId
required
Penetration test run ID the finding belongs to
string
Example
ptr_6af70c24cbdb331b9425d0a5status
Workflow status of the finding
string
Example
in_progressassigneeId
Member ID to assign the finding to, or null to unassign
string
Example
mem_6ac8c78973265fc8bc6d4507Responses
Section titled “Responses”Finding updated
Run or finding not found