Rule types & actions

The EAA API uses numeric values to indicate the rule action and rule type. Refer to the tables below for details on the meaning and use of each value.

Rule types

The rule type. The table below details the values to specify the type of rule:

rule_type valueRule TypeUsed for these rule actions
1Access control1, 2, 4, 16, 512
2Content rewrite8
3Post body rewrite32
4Query rewrite64
5Cookie rewrite128
6Location rewrite256

Rule actions

The action the rule takes. The table below details the values to specify the action a rule takes: