Ethiack Docs
Pentests

Get a pentest report

GET
/v1/pentests/{pentest_slug}/reports/{report_id}

Return one pentest report by id (404 if not found or not authorized).

AuthorizationBearer <token>

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

In: header

Path Parameters

pentest_slug*string
report_id*integer

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