Skip to content
Myra Online Help Updated · 21 Aug 2026

Listing all conditions of a WAF rule

Send a GET request to the /waf/conditions endpoint.

Description

The List-Conditions request allows the user to request a list of all possible conditions for a WAF rule in the Myra Suite.

Requirements

Values of the request: none

Objects: none

Request

To request a list of all WAF conditions, no additional information needs to be added to the path of the request.

As a result, you will receive one or more WafConditionVO objects containing the requested information.

The object provides the following information:

Attributes Description Value
id The ID of the condition. integer
category The category for the condition. string
name The internal name of the condition. string
key The customize key for the condition. Depending on the type of the condition, this can be a header name, a value, a path, or an error code.
value The value for the condition. Depending on the type of the condition, this can be a value for the customize key or a comparison parameter for the matching type.
matchingType The regex condition.
availablePhases The support for different phases.
  • 1 -> Redirects
  • 2 -> IP Whitelist & Blacklist
  • 3 -> WAF
  • 4 -> Request Limiter
  • 5 -> Antibot
alias The name of the condition in the Myra App.

Example

Example response:

[
  {
    "objectType": "string",
    "id": 0,
    "modified": "string",
    "created": "string",
    "comment": "string",
    "category": "string",
    "name": "string",
    "key": "string",
    "value": "string",
    "matchingType": "string",
    "availablePhases": 0,
    "forceCustomValues": true,
    "alias": "string"
  }
]

Responses

The following responses are available:

STATUS CODE DESCRIPTION
200 The request has succeeded.
400 The request was unsuccessful. The request was invalid or information is missing.
401 The request has not succeeded because the user authentication was incorrect.
403 The request has not succeeded because the user does not have the right permissions.