An Azure service that provides protection for web apps.
Hello @Michael Paterson,
Welcome to Microsoft Q&A Platform.
The Azure-managed Default Rule Set in the Application Gateway Web Application Firewall actively protects web applications from common vulnerabilities and exploits. These rule sets, managed by Azure, are updated as needed to guard against new attack signatures.
To block traffic from a specific IP, you can create a custom rule in WAF. Custom rules have higher priority than the rules in the managed rule sets.
You can create a custom rule in WAF by navigating to: Front Door WAF Policy → Custom Rules → Add Custom Rule
Once the custom rule is created, make sure the WAF policy is associated with your Front Door, and ensure that the WAF policy mode is set to Prevention.
Ref Configure Azure Front Door logs to configure Diagnostic.
Note: After completing all the configurations, wait 5 minutes for the changes to propagate.
If it is still not working, check the AzureDiagnostics logs for Azure Front Door using a KQL query.
AzureDiagnostics
| where Category contains "FrontDoorWebApplicationFirewallLog"
Result:
Final result of AFD endpoint URL:
Kindly let us know if the above helps or you need further assistance on this issue.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.