pentests
pentests

List pentest scope assets

List the pentest's scope assets, filterable by scope membership.

Supports filtering by in-scope status and asset identifier.

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 (PentestAssetQuery): Pagination + optional in_scope/asset_id. pager (Paginator): Fills the response's navigation metadata.

Returns: PentestAssetListResponse: The authorized, paginated scope asset list.

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

Query parameters

pageinteger
per_pageinteger

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

in_scopeboolean nullable
asset_idinteger nullable

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.