Events
Get an event launch (deprecated path)
Deprecated: use GET /v1/pentests/{pentest_slug}/launches/{launch_id} instead.
Return one launch by id (404 if not found or not authorized).
Restricted to machine callers operating within the pentest's scope.
AuthorizationBearer <token>
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
launch_id*integer
event_slug*string
Response Body
application/json
application/json
curl -X GET "https://api.ethiack.com/v1/events/string/launches/0"{
"id": 0,
"pentest_id": 0,
"machine_user_id": "8627f65e-e325-4242-8d74-74ec65babc68",
"mode": 0,
"status": "pending",
"error_info": "string",
"sub_job_id": 0,
"start_time": "2019-08-24T14:15:22Z",
"finish_time": "2019-08-24T14:15:22Z",
"created": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get an event (deprecated path) GET
Deprecated: use `GET /v1/pentests/{pentest_slug}/` instead. Return one pentest by slug (404 if not found or not authorized).
List event launches (deprecated path) GET
Deprecated: use `GET /v1/pentests/{pentest_slug}/launches/` instead. List the launches dispatched for a pentest. Restricted to machine callers operating within the pentest's scope.