It sounds like you're experiencing issues with your WAF exclusion rule not functioning as expected. Here are a few things to consider:
- Ensure Traffic is Routed Through WAF: Verify that your Azure Front Door is correctly configured to route traffic through the WAF. If traffic is not passing through the WAF, the exclusion rules will not apply. You can check the routing configuration in your Azure Front Door settings.
- Review Exclusion Rule Configuration: Double-check the configuration of your exclusion rule. Make sure that the rule is set up correctly to match the traffic you intend to exclude. If the match conditions are not accurately defined, the rule may not trigger as expected.
- Logging and Monitoring: Utilize the logging features of the WAF to monitor incoming requests and see if your IP address is being logged. This can help determine if the requests are being processed by the WAF and if the exclusion rule is being evaluated.
- Testing in Prevention Mode: Since you are in Prevention Mode, ensure that the WAF is actively blocking requests as intended. If you have made changes to the WAF configuration, it might be beneficial to test the setup thoroughly to confirm that it behaves as expected.
- Custom Rules: If the exclusion rule is not working, consider creating a custom rule that explicitly allows requests from your IP address. Custom rules are processed before managed rules and can provide more granular control over how the WAF responds to specific requests.
If you continue to face issues, it might be helpful to reach out to Azure support again with detailed information about your configuration and the steps you've taken so far.
References: