Add an event scope asset (deprecated path)
Deprecated: use POST /v1/pentests/{pentest_slug}/scope/assets/ instead.
Add an asset to the pentest scope.
Restricted to organization and partner integrators.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
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/events/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": {}
}
]
}List event reports (deprecated path) GET
Deprecated: use `GET /v1/pentests/{pentest_slug}/reports/` instead. List the reports generated for a pentest. Visible to organization and partner integrators authorized for the pentest.
Remove an event scope asset (deprecated path) DELETE
Deprecated: use `DELETE /v1/pentests/{pentest_slug}/scope/assets/{asset_id}` instead. Remove an asset from the pentest scope. Restricted to organization and partner integrators.