Rule filters are composed by combining predicates using AND/OR operators (&,|). Each predicate is comprised of:

  • Parameter / matched object: The part of the request or the sessions to which the filter is applied. For example, Client IP or Country.
  • Operator: Defines how the parameter value is matched. For example, "greater than" or "equals". Each matched object can have its own unique set of operators based on its characteristics.
  • Value: The value to be matched.

Operators

The following operators are available. Most filter parameters support only a subset of the list of operators. For the full list supported operators for each filter parameter, see Rule Filter Parameters.

When manually configuring a rule filter on the Rules page or via the API, make sure that operators are specified in lower case. For example, contains.

Reserved Characters

Note: Mixed AND/OR operators cannot be enclosed by the same parenthesis

Read More