I would like to add URLs/Domains to the webfilter by using the API. Can't figure out the code that is needed. Can anyone help?
This thread was automatically locked due to age.
Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.
I would like to add URLs/Domains to the webfilter by using the API. Can't figure out the code that is needed. Can anyone help?
Hi Sacha Roland
Could you please check with the given URL - https://community.sophos.com/kb/en-us/132760
Regards,
Keyur
Community Support Engineer | Sophos Support
Sophos Support Videos | Knowledge Base | @SophosSupport | Sign up for SMS Alerts |
If a post solves your question use the 'This helped me' link
Now I got it. Had problems with <pre>-tag in editor.
This is the code I used:
https://<Firewall_IP_address>:<port>/webconsole/APIController?reqxml=<Request>
<Login>
<UserName>apiuser</UserName>
<Password>password</Password>
</Login>
<Set Operation="add">
<WebFilterURLGroup>
<Name>Name</Name>
<URLlist>
<URL>URLs</URL>
<URL>URLs</URL>
</URLlist>
<Description>Text</Description>
</WebFilterURLGroup>
</Set>
</Request>