PantherFlow Expressions
Use these expressions in your PantherFlow query statements
References
Array references
array[X]
Retrieve value at X
foo[1]
Object references
object['X']
Retrieve value at X
foo['bar']
object.X
Retrieve value at X
foo.bar
Comparisons
Equality comparisons
==
Equality
A == B
!=
Inequality
A != B
Boolean comparisons
and
Logical and
A and B
or
Logical or
A or B
not
Logical not
not A
Numerical comparisons
<
Less than
A < B
<=
Less than or equal to
A <= B
>
Greater than
A > B
>=
Greater than or equal to
A >= B
+
Add
A + B
-
Subtract
A - B
*
Multiply
A * B
/
Divide
A / B
%
Modulo
A % B
Array comparisons
in
Value is in array
X in [X, Y, Z]
, '10.10.10.100' in p_any_ip_addresses
not in
Value is not in array
X not in [A, B, C]
Between comparisons
between
Value is between two values (inclusive), which are separated by ..
<foo> between <begin> .. <end>
not between
Value is not between two values (exclusive), which are separated by ..
<foo> not between <begin> .. <end>
Last updated
Was this helpful?