Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Toggle web server in WAF rule via API

Hello,

I am trying to set up kind of a "blue-green" deployment environment for our website. We already have a working web server and a firewall (WAF) rule pointing to this web server. I've added a second "web server" and I now see it in the list under the "protected servers" section in my firewall rule.

Does anyone know how I can toggle to the other web server (WEB01) using API? I am thinking that after I after I publish the latest version of our website to this 2nd identical Windows server running IIS, I can then use the API to toggle to the other server once we test the site and make sure all is good.

I found this article but I'm not too familiar with APIs in general, although others in my team are... so if I find something close enough to present to the team perhaps we can take it from there: docs.sophos.com/.../index.html. The firewall is registered in Sophos Central. I also found this documentation -- not sure which one I should go off: https://developer.sophos.com/.

Thanks!



This thread was automatically locked due to age.