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

Get firewall name via API from UUID

Hi,

The Sophos Central Alerts API gives me the UUID of the affected device. For endpoints I can use the endpoint API to get the hostname, but how can I do this for a firewall? Is this not possible at the moment?

Thanks

James



This thread was automatically locked due to age.
Parents Reply
  • Hi Keyur,

    When I get Alerts via API (as documented here (https://developer.sophos.com/apis), the output includes an Agent ID (managedAgent.id). If the Alert relates to an endpoint or server, I can look it up via the endpoint API (https://developer.sophos.com/apis), but if the Alert relates to a firewall, I can't look up any identifying information about the firewall. I want to know serial and hostname. I have tested looking up the firewall as though it was an endpoint using the endpoint API, but as expected that doesn't work.

    Please let me know how I can get the serial number and hostname? I think maybe an API to look up this information doesn't yet exist, but I'm hoping it does exist and just isn't yet published :)

    Thanks

    James

Children