Pentests
List pentest scope assets
List the pentest's scope assets, filterable by scope membership.
Supports filtering by in-scope status and asset identifier.
AuthorizationBearer <token>
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
pentest_slug*string
Query Parameters
page?integer
Default
1Range
1 <= valueper_page?integer
Page size. Values above 500 are clamped to it (or rejected, per the server configuration).
Default
25Range
1 <= valuein_scope?|
asset_id?|
Response Body
application/json
application/json
curl -X GET "https://api.ethiack.com/v1/pentests/string/scope/assets/"{
"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"
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}