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 value | Rule Type | Used for these rule actions |
---|---|---|
1 | Access control | 1, 2, 4, 16, 512 |
2 | Content rewrite | 8 |
3 | Post body rewrite | 32 |
4 | Query rewrite | 64 |
5 | Cookie rewrite | 128 |
6 | Location rewrite | 256 |
Rule actions
The action the rule takes. The table below details the values to specify the action a rule takes:
action value | Rule Action | Used for |
---|---|---|
1 | Deny | Access control rules |
2 | Log | Access control rules |
4 | Allow | Access control rules |
8 | Content rewrite | Application URL rewrite groups |
16 | Redirect | Access control rules |
32 | Data rewrite | Application URL rewrite groups |
64 | Query rewrite | Application URL rewrite groups |
128 | Cookie rewrite | Application URL rewrite groups |
256 | Location rewrite | Application URL rewrite groups |
512 | Access Denied page | Customize EAA Access Denied Page |