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 URLhttps://api.ethiack.com (the document declares no server; this is the origin it was published from)
- Authnone 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
Changes
No recorded changes to this operation across all 1 revision of this API.