Ensure that Web Application Firewall (WAF) is enabled for Azure Front Door premium and standard profiles.
WAF actively inspects incoming requests to the front door and blocks requests that are determined to be malicious based on a set of rules.
Modify the Azure Front Door profile and attach WAF policy under security policies section.