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(S) API Get commands

Hi all,

i want to use the Sophos XGS Api to get the status of:

- services

- ressources

- disconncted reds

- disconncted wlan ap´s

- ATP

- S2S Tunnel 

- High Availability

i cant find any documentation for the get commands for the xgs. Or are these commands not available. support cant assist -.-

thanks for your reply 

daniel



This thread was automatically locked due to age.
Parents Reply Children
  • I think the API is more for making configuration changes than to identify the current state of a system/service or connection, think of it as more of a way to automate the configuration of the system (IaC)
    Id probably look at log settings and notifications via SNMP traps or email notifications

    The only thing thats listed with its status is the following...

    System Services

    <Get><SystemServices></SystemServices></Get></Request>
    Response.SystemServices.(AntiSpam|AntiVirus|Authentication|DHCPServer|DNSServer|IPS|WebProxy).(Action|Status)
    So to get the status of say IPS
    $Result.Response.SystemServices.IPS.Status
  • Also if you want to have a full output of all the possible api options you should just do a backup (export under "import/export) the exported xml file will give you all possible queries that can be made against the API.

    As I said the API doesn't appear to be designed to query for current status, but for configuration "state" and allow you to make changes to that "state"

Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?