Count by Filters

GET {{baseUrl}}/web/api/v2.1/private/locations/filters-count?siteIds=ex&ids=ex&groupIds=ex&registryKey__contains=ex&ipAddress__contains=ex&scopes=ex&hasFirewallRules=ex&accountIds=ex&description__contains=ex&scopeName__contains=ex&hostname__contains=ex&name__contains=ex&creator__contains=ex

Get a count of location settings for Agents that match the filter. For example, with the filter of scopes=global, the count will show how many location settings are set on your deployment at the Global level. Then it shows, for those locations, how many have active Firewall Control rules and how many do not.

Request Params

KeyDatatypeRequiredDescription
siteIdsstringList of Site IDs to filter by. Example: "225494730938493804,225494730938493915".
idsstringFilter results by location IDs. Example: "225494730938493804,225494730938493915".
groupIdsstringList of Group IDs to filter by. Example: "225494730938493804,225494730938493915".
registryKey__containsstringFree-text filter by registry key (supports multiple values). Example: "system\software,sentinel".
ipAddress__containsstringFree-text filter by IP address (supports multiple values). Example: "29.213.22.17".
scopesstringFilter results by scope. Example: "group".
hasFirewallRulesstringFilter by locations with/without firewall rules associated to them
accountIdsstringList of Account IDs to filter by. Example: "225494730938493804,225494730938493915".
description__containsstringFree-text filter by description (supports multiple values). Example: "out of office".
scopeName__containsstringFree-text filter by scope name (supports multiple values). Example: "my_group,my_site".
hostname__containsstringFree-text filter by hostname (supports multiple values). Example: "sentinelone.com,localhost".
name__containsstringFree-text filter by location name (supports multiple values). Example: "office".
creator__containsstringFree-text filter by creator of the location (supports multiple values). Example: "max,mike".

HEADERS

KeyDatatypeRequiredDescription
Content-Typenull