I have LB with many FQDNs. LB is with block waf policy. I want to add new application with another FQDN to same LB. During application onboarding I want to first review security events and then enforce policy to avoid false positives.
I have two options:
I will add application to the LB and then define rule to skip WAF processing for application. But in this case I will not see security events. Can I enable logs for such configuration for purpose of the configuration of the WAF exclusion rules?
I will create new LB and configure application there and after that I will move application to prod LB.
I prefer point 1 as in point two I will have to trigger Jenkins job to apply new Terraform config what will destroy resources and after that I will execute another job to recreate resources on productive LB. This will lead to the short outage. But due to this outage I have to follow up process what I would like to avoid.
you can apply a new waf policy for tne new fqdn with enforcemenet mode setted to “Monitoring”
so you will block nothing but any violation will be logged
How I can add additional WAF policy to the current LB?
I can Disable/Enable WAF. When it’s enabled I can choose one security policy per LB. In case that I will change policy to “Monitoring” all applications will be in “Monitoring mode” instead “Block”.
you can have different waf policy per fqdn or even per path
Having multiple fqdns under same LB i gues you are already using routes
so under routes advanced options you can also select not to inherit LB’s Waf but apply another one
You can make an XC route and attach separate waf policy. Just play on a test HTTP LB and see under an XC route the advanced options to select your own waf Policy not the default under the HTTP LB itself. Sorry did not see that you are talking about XC.
Just remember that the route should match match on Host header and be placed at the top. Other than that WAF exclusion rules or Service policy WAF exclusions need to also match the Host header as they otherwise will be global for the HTTP LB. The service policy has a nice domain match option that is better than matching the host headers by the way