Skip to content

WAF rules report wrong name if using an or condition #4340

@blotus

Description

@blotus

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions