Count by Filters
GET {{baseUrl}}/web/api/v2.1/private/locations/filters-count?siteIds=ex&ids=ex&groupIds=ex®istryKey__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
Key | Datatype | Required | Description |
---|---|---|---|
siteIds | string | List of Site IDs to filter by. Example: "225494730938493804,225494730938493915". | |
ids | string | Filter results by location IDs. Example: "225494730938493804,225494730938493915". | |
groupIds | string | List of Group IDs to filter by. Example: "225494730938493804,225494730938493915". | |
registryKey__contains | string | Free-text filter by registry key (supports multiple values). Example: "system\software,sentinel". | |
ipAddress__contains | string | Free-text filter by IP address (supports multiple values). Example: "29.213.22.17". | |
scopes | string | Filter results by scope. Example: "group". | |
hasFirewallRules | string | Filter by locations with/without firewall rules associated to them | |
accountIds | string | List of Account IDs to filter by. Example: "225494730938493804,225494730938493915". | |
description__contains | string | Free-text filter by description (supports multiple values). Example: "out of office". | |
scopeName__contains | string | Free-text filter by scope name (supports multiple values). Example: "my_group,my_site". | |
hostname__contains | string | Free-text filter by hostname (supports multiple values). Example: "sentinelone.com,localhost". | |
name__contains | string | Free-text filter by location name (supports multiple values). Example: "office". | |
creator__contains | string | Free-text filter by creator of the location (supports multiple values). Example: "max,mike". |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | null |