pentests
pentests

List pentest scope URLs

List the distinct URLs of the pentest's scoped assets.

Available to any caller authorized for the pentest's scope (not machine-only, unlike the /urls listing).

Serves the in-scope half unless the gates say otherwise (see :class:PentestScopeUrlQuery); wanting neither half is an empty page, not a query that cannot match.

Args: pentest_slug (str): Public pentest identifier. db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope. query (PentestScopeUrlQuery): Pagination + the two scope gates. pager (Paginator): Fills the response's navigation metadata.

Returns: PentestScopeUrlListResponse: The authorized, paginated scope URL list.

get/v1/pentests/{pentest_slug}/scope/urls/

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

Include URLs of the pentest's in-scope assets.

out_of_scopeboolean

Include URLs of the pentest's out-of-scope assets.

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.

urlsstring[] required

Changes

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