pentests
pentests

Update pentest scope

Bulk-move assets between in- and out-of-scope.

Restricted to organization and partner integrators.

Args: pentest_id (int): The parent pentest, resolved and access-checked by the router's gate. body (PatchPentestScopeRequest): Assets to move in or out of scope. db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope.

Returns: SuccessResponse: The pre-rename update envelope, which names no id -- the PATCH edits the collection, not a row.

patch/v1/pentests/{pentest_slug}/scope/

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

in_scopeinteger[]

Asset IDs to mark as in-scope.

out_of_scopeinteger[]

Asset IDs to mark as out-of-scope.

Response

Successful Response

codeinteger required
descriptionstring required
successboolean

Changes

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