If a custom WAF rule uses a or condition, when loading the rules, multiple rules will be generated but we only track the id of the 1st generated rule (which is enough for and, but not for or).
This means that if any other rule than the 1st one matches, we will consider the rule as being a custom one written in seclang, and will use the msg attribute of the rule as the name of the scenario, which will be the description in this case.
If a custom WAF rule uses a
orcondition, when loading the rules, multiple rules will be generated but we only track the id of the 1st generated rule (which is enough forand, but not foror).This means that if any other rule than the 1st one matches, we will consider the rule as being a custom one written in seclang, and will use the
msgattribute of the rule as the name of the scenario, which will be the description in this case.