Get Asset Group Stats
GET {{cb_url}}/asset_groups/v1/orgs/{{cb_org_key}}/groups/{{group_id}}/membership_summary
For a given group, return counts of how many of its members belong to other groups, and counts of how many members belong to groups without Policy association.
RBAC Permissions Required
Permission (.notation name) | Operation(s) |
---|---|
group-management | READ |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"intersections":[{"count":19,"ids":["19242056","19242095","19242200","19242311","19242797","19243208","19243414","19243648","19243656","19243721","19243737","19243754","19244090","19244266","19244345","19244582","19244773","19244837","19245056"],"group_id":"ef34e934-83eb-45cd-aba7-9a86b31a8d71","group_name":"test group"},{"count":2,"ids":["18118181","19245056"],"group_id":"6459233a-3b5c-4982-9f34-731542524e37","group_name":"Testing 1","group_description":"Testing","policy_id":19305221,"policy_name":"TESTING PURPOSES"},{"count":1,"ids":["18118181"],"group_id":"5ba65b7b-843d-438a-9182-85f3c16a971a","group_name":"Asset Group #1","policy_id":465946,"policy_name":"Testing 2"},{"count":1,"ids":["18118181"],"group_id":"8fa67fcd-1689-4320-9bcf-a427504e78df","group_name":"windows","policy_id":20314731,"policy_name":"Testing 3"},{"count":1,"ids":["18118181"],"group_id":"c97dbc92-6438-48f1-9062-df13b246b6ca","group_name":"Windows Developers","group_description":"Developer workstations running Windows OS","policy_id":165700,"policy_name":"Standard"},{"count":1,"ids":["18118181"],"group_id":"f2004957-ca49-4c77-921f-8dd70c9c1185","group_name":"Test5","group_description":"Test5","policy_id":465946,"policy_name":"Testing 5"}],"unassigned_properties":[{"type":"POLICY","count":0,"ids":[]}]}