Forum Discussion

John_Chen_43562's avatar
John_Chen_43562
Icon for Nimbostratus rankNimbostratus
Apr 17, 2018

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?

 

1 Reply

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    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.