application-gateway-kubernetes-ingress
application-gateway-kubernetes-ingress copied to clipboard
Setup per-site WAF policy
Hello,
According to the document for waf-policy-for-path, it should choose the WAF policy via annotation, but it will apply to all the site and all paths. How can I associate a different WAF policy per different site?
For example, apply WAF Policy 1 to www.example1.com and WAF Policy 2 to www.example2.com .
The document: https://github.com/Azure/application-gateway-kubernetes-ingress/blob/master/docs/annotations.md#azure-waf-policy-for-path
Thanks for any advice
If you can split your ingress by host name, you can set different waf-policy-for-path annotation allowing you to have two waf policies.