Ethiack Docs
Pentests

Generate a pentest report

POST
/v1/pentests/{pentest_slug}/reports/

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.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

pentest_slug*string

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": {}
    }
  ]
}