List event scope (deprecated path)
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.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
Query Parameters
11 <= valuePage size. Values above 500 are clamped to it (or rejected, per the server configuration).
251 <= valueResponse 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": {}
}
]
}Update an event scope asset (deprecated path) PATCH
Deprecated: use `PATCH /v1/pentests/{pentest_slug}/scope/assets/{asset_id}` instead. Update one scope asset's attributes. Restricted to organization and partner integrators.
Update event scope (deprecated path) PATCH
Deprecated: use `PATCH /v1/pentests/{pentest_slug}/scope/` instead. Bulk-move assets between in- and out-of-scope. Restricted to organization and partner integrators.