Ensure that Web Application Firewall (WAF) security policies are enabled for your Microsoft Azure Application Gateways in order to protect your applications from common exploits and vulnerabilities, keep your service available, and help you meet compliance requirements.
Azure Web Application Firewall (WAF) provides centralized protection of your web applications from common threats such as SQL injections, Cross Site Scripting (XSS), and local and remote file executions. You can also restrict access to your web applications by countries, IP address ranges, and other HTTP(S) parameters via custom rules using the firewall service.
To enable Web Application Firewall (WAF) integration with Azure Application Gateway, your Application Gateway must be on the Standard V2 or WAF V2 pricing tier.
Audit
To determine if Web Application Firewall (WAF) policies are enabled for your Azure Application Gateways, perform the following operations:
Remediation / Resolution
To enable Web Application Firewall (WAF) support for your Microsoft Azure Application Gateways, perform the following operations:
References
- Azure Official Documentation
- What is Azure Application Gateway v2?
- What is Azure Web Application Firewall?
- Create Web Application Firewall policies for Application Gateway
- Azure Command Line Interface (CLI) Documentation
- az account list
- az account set
- az network application-gateway list
- az network application-gateway show
- az network application-gateway waf-policy show
- az network application-gateway waf-policy update