settings

Get the partner's default pentest duration

Return the default pentest duration for the caller's partner.

Restricted to integrators (the get_integrator_partner_id dependency resolves and validates the owning partner). The value comes from the partner's active subscription.

Args: db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope. partner_id (int): The integrator's resolved partner id.

Returns: DefaultPentestDurationResponse: The configured default duration and whether the integrator may change it.

get/v1/settings/default-pentest-duration/

Request

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

Response

Successful Response

default_pentest_duration_daysinteger required
editableboolean required
durationinteger required

Previous name for default_pentest_duration_days.

unitstring required

Unit of duration. Always days.

Changes

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