- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Configuring WAF Rules Using Azure Web App Firewall
A critical step in web app security is to defend against attacks that affect the confidentiality, integrity, and availability of apps. In this hands-on lab, you'll configure web application firewall rules that defend against web app attacks using Azure Web Application Firewall (WAF).

Lab Info
Table of Contents
-
Challenge
Configure Front Door WAF Policy
Configure a Front Door WAF policy that uses Azure Front Door CDN and name the policy waf.
-
Challenge
Configure Managed Rules
Configure the WAF policy to only use managed rules with the following Rule IDs:
- 99031003
- 941110
- 941120
- 941130
- 941140
- 941150
-
Challenge
Set Blocked Respond Body Message
Set the blocked response body message to "No SQLi or XSS allowed!"
-
Challenge
Configure Custom Rules
Configure a custom rule that blocks Geolocation and RemoteAddr traffic coming from the Unknown country/region.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.