Generate a pentest report
Request asynchronous generation of a pentest report.
Accepted for processing and generated in the background; the returned report reflects its initial, pending state. Restricted to organization and partner integrators authorized for the pentest.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.ethiack.com/v1/pentests/string/reports/" \ -H "Content-Type: application/json" \ -d '{ "type": "technical", "start_date": "2019-08-24T14:15:22Z", "end_date": "2019-08-24T14:15:22Z", "minimum_severity": 0, "include_status": [ "fixed" ], "tz": "string" }'{
"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": {}
}
]
}List recon launches GET
List reconnaissance launches for a pentest.
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.