Hi @NM ,
could you please share some more information about your required scenario?
In general a web-server running in Azure could be protect with an Azure Application Gateway with WAF:
https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/ag-overview
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten