Skip to content

Create a task to fix a pentest finding

POST
/v1/pentest-findings/{issueId}/task
curl --request POST \
--url https://api.varman.io/v1/pentest-findings/example/task \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "runId": "ptr_6af70c24cbdb331b9425d0a5" }'

Creates a compliance task with the finding details and fix steps, assigned to the finding assignee, and links it to the finding. Calling it again returns the existing link.

issueId
required
string
X-Organization-Id
string

Organization ID (required for session auth, optional for API key auth)

Media typeapplication/json
object
runId
required

Penetration test run ID the finding belongs to

string

Example

ptr_6af70c24cbdb331b9425d0a5

Task created and linked

Run or finding not found