Skip to main content

In the Management Console, the user can list out all the entities that needs attention by using the filters. I would also like to get all of those entities via the API.

 

I have found this endpoint:

/service/api/status/gsm/{keyCode}

With the field BasicInfo having the subfield of AttentionRequired: bool

 

This is great, but somehow the data from the API does not match the entities in the web console (Some missing, there’s some entities from the API not present in the web console, etc.)

 

Also I can’t get the entityId, and the marname, these fields are from when I inspected the network request from the web console, the data is in JSON form and it seems to be perfect for what we need.

Hello ​@EzraM I’m sorry your post was overlooked. Let me ping our Forum Manager ​@TylerM to see if he can get someone that has answers to your question.

 

EDIT to add: ​@aqila TH


@TylerM and or ​@aqila Please!


Sorry I missed this! Having Aqil take a look at this and get back to you


Hi ​@EzraM ,

Thanks for reaching out.

When using the Unity API, the identifiers you will see in various calls do not include entityid but you will find the following key identifiers:

  • EndpointId
  • MachineId
  • MACaddress
  • Hostname

When using the Console; under Entities > Summary > Network  the enity is also listed by Mac address.

By Marname perhaps you are referring to sitename ?

In which case you can collate all the information you are after by a combination of various Unity calls available.

Apart from your SkyStatus.GSM scope call which you correctly suggested above you can also use the Console.GSM scope calls to get more information on endpoint threats.

Sometimes there is a difference in quantities due to the update frequency involved but the SkyStatus.GSM scope calls should have the most up to date information.

Hope this helps.

If you want more assistance in setting up an optimised workflow for the Unity API calls for your scenario please DM me for more assistance.

 

Cheers


Reply