pentests
pentests

List pentest scope

Return the pentest's in- and out-of-scope assets.

Returns the full in- and out-of-scope collections (use /scope/assets/ for paginated access). Beacon details for the in-scope assets are included only for machine callers. An in-scope asset with an uploaded app bundle (APK / IPA) carries a short-lived signed attachment_url to download it.

Args: pentest_id (int): The parent pentest, resolved and access-checked by the router's gate. db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope. query (PentestScopeQuery): Pagination query params, applied to each collection independently. pager (Paginator): Fills the response's navigation metadata.

Returns: PentestScopeResponse: The pentest scope split into in- and out-of-scope assets.

get/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

Query parameters

pageinteger
per_pageinteger

Page size. Values above 500 are clamped to it (or rejected, per REST__PAGINATION__PER_PAGE_OVER_MAX).

Response

Successful Response

totalinteger nullable
pageinteger nullable
per_pageinteger nullable
_linksobject nullable

RFC 8288 rel to URL. Always first; last unless the route opted out of counting; prev and next when applicable.

Changes

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