Ethiack Docs
Events

List event scope (deprecated path)

GET
/v1/events/{event_slug}/scope/

Deprecated: use GET /v1/pentests/{pentest_slug}/scope/ instead.

Return the pentest's in- and out-of-scope assets.

Returns the full in- and out-of-scope collections (use /scope/assets/ for paginated access). Beacon details for the in-scope assets are included only for machine callers. An in-scope asset with an uploaded app bundle (APK / IPA) carries a short-lived signed attachment_url to download it.

AuthorizationBearer <token>

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

In: header

Path Parameters

event_slug*string

Query Parameters

page?integer
Default1
Range1 <= value
per_page?integer

Page size. Values above 500 are clamped to it (or rejected, per the server configuration).

Default25
Range1 <= value

Response Body

application/json

application/json

curl -X GET "https://api.ethiack.com/v1/events/string/scope/"
{
  "total": 0,
  "page": 0,
  "per_page": 0,
  "_links": {
    "property1": "string",
    "property2": "string"
  },
  "in_scope": {
    "total": 0,
    "page": 0,
    "per_page": 0,
    "_links": {
      "property1": "string",
      "property2": "string"
    },
    "assets": [
      {
        "id": 0,
        "value": "string",
        "type": "string",
        "in_scope": true,
        "private": true,
        "description": "string",
        "wildcard": false,
        "beacon_id": 0,
        "attachment_url": "string"
      }
    ]
  },
  "out_of_scope": {
    "total": 0,
    "page": 0,
    "per_page": 0,
    "_links": {
      "property1": "string",
      "property2": "string"
    },
    "assets": [
      {
        "id": 0,
        "value": "string",
        "type": "string",
        "in_scope": true,
        "private": true,
        "description": "string",
        "wildcard": false,
        "beacon_id": 0,
        "attachment_url": "string"
      }
    ]
  },
  "beacons": [
    {
      "id": 0,
      "name": "string",
      "status": 0,
      "last_seen": "2019-08-24T14:15:22Z",
      "created": "2019-08-24T14:15:22Z",
      "url": "string"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}