Ethiack Docs
Pentests

Add a pentest scope asset

POST
/v1/pentests/{pentest_slug}/scope/assets/

Add an asset to the pentest scope.

Restricted to organization and partner integrators.

AuthorizationBearer <token>

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

In: header

Path Parameters

pentest_slug*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.ethiack.com/v1/pentests/string/scope/assets/" \  -H "Content-Type: application/json" \  -d '{    "asset_id": 0,    "in_scope": false,    "wildcard": false,    "description": "string"  }'
{
  "code": 0,
  "description": "string",
  "id": 0,
  "success": true
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}