Profiles
Beta

Enable a continuous pentest

Turn a continuous pentest back on, optionally replacing the watched repositories. Each repository restarts at its current head. A schedule requires a cron. CI and MERGE do not.

post/profiles/{profileId}/continuous-pentest/enable

Request

  • Base URL
    https://public.escape.tech/v3
  • Auth
    API key in header X-ESCAPE-API-KEY

Path parameters

profileIdstring required

The AI Pentest profile ID

Example:00000000-0000-0000-0000-000000000000

Request body

cronstring

Cron expression defining how often the repositories are reviewed

initiator'APPLICATION_CREATION' | 'CI' | 'INVENTORY' | 'MANUAL' | 'MERGE' | 'SCHEDULED' | 'UNKNOWN'

SCHEDULED plans a cron. CI and MERGE do not. Any other value is refused.

startAtstring date-time

When the schedule becomes active (ISO 8601). Defaults to now.

Response

OK

initiator'SCHEDULED' | 'CI' | 'MERGE' required

SCHEDULED plans a cron. CI and MERGE do not.

disabledAtstring date-time nullable required

Set when the continuous setup was turned off; null while it is on

lastScanIdstring uuid nullable required

The id of the last continuous pentest run

Changes

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