Skip to content

Add context to a pentest finding

PUT
/v1/pentest-finding-contexts/{issueId}
curl --request PUT \
--url https://api.varman.io/v1/pentest-finding-contexts/example \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "runId": "pentest-abc123", "context": "Read access to appConfiguration is accepted by design: the collection only holds non-secret bootstrap configuration and write access is restricted to privileged users." }'

Saves a customer context note on a pentest finding, e.g. an accepted-by-design rationale or remediation details. Future scans of the same target pass the note to the testing agent so the issue is retested with that context.

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

pentest-abc123
context
required

Context for the finding, e.g. an accepted-by-design rationale or remediation details. Shared with the testing agent on future scans of the same target. Max 2000 characters.

string
<= 2000 characters

Example

Read access to appConfiguration is accepted by design: the collection only holds non-secret bootstrap configuration and write access is restricted to privileged users.

Context note saved

Run or finding not found