Skip to navigation

List pentest targets

A target is one attack-surface endpoint the pentest exercised. Execution logs are stored per target, so a target ID is how you read them with List target logs, even for targets that produced no issue.

Requires the pentests:read API key scope.

Authentication

AuthorizationBearer

A workspace API key, sent as Authorization: Bearer.

OR
x-api-keystring

A workspace API key, sent as x-api-key.

Path parameters

pentestIdstringRequired
Pentest UUID.

Response

The pentest’s targets.

idstringformat: "uuid"
Target ID, used by the target log routes.
urlstring or null
applicationIdstringformat: "uuid"
applicationNamestring
statusenum
attemptinteger
errorstring or null
startedAtdatetimeOptional
completedAtdatetimeOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error