Customizing WAF rules
A WAF comes with a predetermined set of rules. These rules are enforced to increase application security and prevent malicious requests. We can change these rules to address specific issues or requirements as needed.
Getting ready
Before you start, open the browser and go to the Azure portal at https://portal.azure.com.
How to do it...
In order to change the WAF rules, we must do the following:
- Select Web application firewall under Settings in the Application gateway pane.
- Select Rules in the WAF settings. Select Enabled under Advanced rule configuration, as shown in Figure 12.26:
Figure 12.26: Enabling Advanced rule configuration
- The rules will appear in the form of a list. We can check or uncheck boxes to enable or disable rules:
Figure 12.27: Customizing WAF rules in the Application gateway pane
How it works...
A WAF comes with all rules activated by default. This can slow down performance, so we can disable some of...