pentests

List pentests

List pentests visible to the caller.

Scoped to the caller's pentest memberships by PentestService; the route only translates transport.

Args: db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope. query (PentestListQuery): Filters + pagination query params. pager (Paginator): Fills the response's navigation metadata.

Returns: PentestListResponse: The authorized, paginated pentest list.

get/v1/pentests/

Request

  • Base URL
    https://api.ethiack.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Query parameters

pageinteger
per_pageinteger

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

organization_idinteger nullable
pentest_type1 | 2

Pentest execution mode.

status0 | 1 | 2 | 3 | 4 | 5 | 6

Pentest lifecycle status.

searchstring nullable
pentest_slugstring nullable
runningboolean nullable
finishedboolean 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.