Understanding Directives and Conditions
- Last UpdatedMay 05, 2025
- 5 minute read
Directives are defined by the Actions of their title, and contain one or more Conditions.
Advanced Bot Protection provides six out-of-the-box Directives. They are summarized in the Directives table below.
A Condition is a container of rules, composed of Flags or code, against which the content of incoming requests are checked. If a match is found, then that Condition has been triggered and its Directive may be acted on.
If data in a request matches one of the Conditions in a Directive, then the Directive is activated and its Action taken. However, the order of the Directives in a Policy is critical. If data in a request matches a Condition in one Directive, and other data in the same request matches a different Condition in another Directive, then it is the higher Directive that is activated and any matches to Conditions in lower Directives are ignored - they may be logged, but their Actions are not carried out. For more information, see Understanding the Structure of the Policies and the Default Policy.
Activities with Directives
Directives