Expressions
Expressions are configured in the parameter exec_if_expr, which is located one level above config { }. These parameter used to configure logic defining if a valve should be executed or not based on runtime data, such as request parameter values.
Example
REQUEST
Example - Exec if request param equals with OR.
ITEM
Example - Exec if no items exist
ITEM PROPERTY
Example - Exec if the item property iam_role exist, but the value is empty
Example - Exec if the item property iam_role exist with the value Admin
Example - Exec if the item property pwdLastSet exist
Example - Exec if the item property pwdLastSet is missing
More details are found here
Last updated