Forum Discussion
Apply a WAF policy to several virtual servers at the same time
I have a WAF policy and want to apply it to 20 web virtual servers. How can I apply this policy to all the virtual servers at the same time instead of doing 20 times. I know that F5 has a tool called BigIQ but it does not work well so far. I still need to click several times. Does anyone know the better way to do it?
- nathe
Cirrocumulus
You could use the REST Api to do this, perhaps using POSTMAN. If you know the ASM policy hash (you don't reference the policy name in REST) then you can programmatically use a PATCH request to do this. There should be some DevCentral examples on how to push a WAF policy to a virtual server that you can extend to all 20 of yours.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com