Hi Team,
We are using below API to get mobile applications host groups data but its not getting host entities related to mobile application.
/api/v2/entities?entitySelector=type(HOST),hostGroupName(%entity_name)&from=now-5y&fields=+tags,+managementZones,+properties,+fromRelationships,+toRelationships&pageSize=4000"
{
“entityId”: “MOBILE_APPLICATION-556544”,
“type”: “MOBILE_APPLICATION”,
“displayName”: “Test”,
“properties”: {
“detectedName”: “58baefdc-2771-4c84-9e78-453222”,
“mobileOsFamily”: [“ANDROID”],
“customizedName”: “Test”
}
}
We have tried replacing above entity_name with entityId and detectedName attribute values like below but its not getting any entities.
/api/v2/entities?entitySelector=type(HOST),hostGroupName(58baefdc-2771-4c84-9e78-453222)&from=now-5y&fields=+tags,+managementZones,+properties,+fromRelationships,+toRelationships&pageSize=4000"
/api/v2/entities?entitySelector=type(HOST),hostGroupName(MOBILE_APPLICATION-556544)&from=now-5y&fields=+tags,+managementZones,+properties,+fromRelationships,+toRelationships&pageSize=4000"
Are we missing any thing here for getting hosts data for mobile applications ? How to get mobile applications hosts data here ?
Thanks,
Sunil