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

Sophos XG API - IP Hosts and Services - Checking Them and Adding Them

So, I'm a little new to the Sophos XG API side of things, but I would like some guidance if possible.

I need to be able to query a list of IP type hosts/services entries in an XG I have.  The reason is I have over 30 IPs to add to the firewall but would rather NOT do it one at a time on the GUI, and would love to be able to add them programmatically, while also identifying duplicates and not add the duplicates.  These hosts also need to be added to a host group that I did create on the GUI side.

Can someone help me get started to understanding and working with the API to properly create these entries I need to create programmatically?



This thread was automatically locked due to age.