Get a pentest report
Return one pentest report by id (404 if not found or not authorized).
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 GET "https://api.ethiack.com/v1/pentests/string/reports/0"{
"id": 0,
"pentest_slug": "string",
"options": {},
"document_type": "string",
"status": 0,
"url": "string",
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z",
"generation_date": "2019-08-24T14:15:22Z",
"error": "string",
"convert_to_pdf": true,
"language": "en",
"created": "2019-08-24T14:15:22Z",
"event_slug": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Download a pentest report GET
Redirect to a time-limited signed URL for a pentest's report. The signed URL is minted per call and never persisted, so the redirect is the response rather than a body carrying the link. Limited to organization and partner integrators authorized for the pentest. A report still being generated answers `202` and the caller polls; one whose generation failed answers `400`. The pending body omits the null `success` key that the unnested `/v1/reports` download includes. The two have always differed there, and a caller reading the key on one would break if it were dropped to match the other.
List pentest reports GET
List the reports generated for a pentest. Visible to organization and partner integrators authorized for the pentest.