pentests
pentests

Add a pentest scope asset

Add an asset to the pentest scope.

Restricted to organization and partner integrators.

Args: pentest_id (int): The parent pentest, resolved and access-checked by the router's gate. body (AddPentestAssetRequest): Asset to add to the scope. db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope.

Returns: SuccessResponse: The legacy create envelope carrying the new id.

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

Request

  • Base URL
    https://api.ethiack.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

pentest_slugstring required

Request body

asset_idinteger required
in_scopeboolean
wildcardboolean
descriptionstring nullable

Response

Successful Response

codeinteger required
descriptionstring required
successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.