SecurityTests
Beta

Bulk update security tests

Update the organization configuration of multiple security tests matching a filter predicate: enable or disable them, and/or override the severity assigned to their issues. Requires organization admin rights. A non-empty where or all: true is required. Set dryRun to preview the matching security test IDs without changing anything. When enabled is omitted, each matched test keeps the enabled state read at the start of the request; a concurrent change to the same test may therefore be overwritten. Pass customSeverity: null to reset the override to the scanner default.

post/security-tests/bulk-update

Request

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

Request body

enabledboolean

The new enabled state to apply

customSeverity'CRITICAL' | 'HIGH' | 'INFO' | 'LOW' | 'MEDIUM' | 'null' nullable

The new severity override to apply. Pass null to reset to the scanner default. Omit to leave the current override unchanged.

allboolean

Set to true to target every security test. Mutually exclusive with a non-empty where.

dryRunboolean

Return the matching security test IDs and count without updating anything

Response

OK

idsstring[] required

IDs of the updated security tests (or matching security tests on dry run)

countinteger required

Number of security test IDs in ids

dryRunboolean required

Whether this was a preview with no update applied

Changes

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