Start a pentest
Put a pentest to work: a continuous one, or a SWIFT / DEPTH draft.
Continuous, from draft or from paused. A draft is published (DRAFT → DONE); a paused pentest is resumed (PAUSED → DONE). Both branches re-verify the asset cap and the continuous-test entitlement and cap, so a pause is not a way around them.
Starting one that is not a draft conflicts (409).
Any other pentest (EXPERT, RED_TEAM) is refused (400): those are submitted for review, not started.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
Response Body
application/json
application/json
curl -X POST "https://api.ethiack.com/v1/pentests/string/start"{
"code": 0,
"description": "string",
"id": 0,
"success": true
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}List pentest scope URLs GET
List the distinct URLs of the pentest's scoped assets. Available to any caller authorized for the pentest's scope (not machine-only, unlike the `/urls` listing).
Get pentest status GET
Return the pentest's aggregated run status. The status is computed from the pentest's config and dates, so this is a plain authorized read.