Skip to main content
Version: 2.0.0

Operators

When building conditions, you need to be aware of the different types of operators you can use to construct your complex condition rules. There are two types of operators that you need to be aware of - Logical and Comparison.

Logical Operators

There are currently three types of logical operators you need to be aware of. These work like logic gates and represent a boolean function.

Logical OperatorAlias (if any)
ANDallOf
ORanyOf
NOTnot

Comparison Operators

Comparison operators enable us to construct much more complex conditions and introduce more concrete rules to our policies.

TextString used in conditionDescription
EQUALSequalsa = b
DOES NOT EQUALnot-equalsa != b
LESS THANless-thana < b
GREATER THANgreater-thana > b
LESS THAN EQUALSless-than-equalsa ≤ b
GREATER THAN EQUALSgreater-than-equalsa ≥ b
INin["a", "b", "c"]
CONTAINScontains["a", ?, "b"]
BETWEENbetweena > x < b
MATCHmatchRegex Expression

Now that we have a basic understanding of the language to construct conditions, lets jump into creating Condition Sets.