CBC: Feature Request: V6 Device API to return a "friendly" group_name property.
search cancel

CBC: Feature Request: V6 Device API to return a "friendly" group_name property.

book

Article ID: 285931

calendar_today

Updated On:

Products

Carbon Black Cloud Endpoint Standard (formerly Cb Defense)

Issue/Introduction

This  V6 device API call only returns the group ID and is missing the group name.
 

curl -v -H X-Auth-Token:ABCDVHDL4Z4ET9G734LUAV9W/WXYZU3WKT3 -H Content-Type:application/json -s -k -X GET "https://defense-prod05.conferdeploy.net/appservices/v6/orgs/7QZF8GTU/devices/77854781

{
"activation_code" : null,
"activation_code_expiry_time" : "2022-02-17T16:39:31.495Z",
"ad_group_id" : 39311, <-- Group ID here vs Group Name in the bulk report

Environment

  • V6 Device API
  • Carbon Black Cloud Sensor: All versions

Cause

This call is not designed to return group name.

Resolution

This is Feature Request FR-003151.

Additional Information

The Bulk query API call DOES return the group name.
 
curl -v -H X-Auth-Token:ABCDVHDL4Z4ET9G734LUAV9W/WXYZU3WKT3 -H Content-Type:application/json -s -k -X GET "https://defense-prod05.conferdeploy.net/appservices/v6/orgs/7QZF88ZP/devices/_search/download?status=ACTIVE&query_string='Standard'"

returns:

name,email,firstName,lastName,middleName,targetValue,status,registeredTime,deregisteredTime,lastContactTime,lastInternalIpAddress,lastExternalIpAddress,deviceType,policyName,windowsPlatform,osVersion,sensorVersion,avEngine,virtualMachine,virtualizationProvider,subDeploymentType,macAddress,avVdfVersion,deviceId,groupName
"Win11",Win11\admin,"","","",MEDIUM,REGISTERED,2022-02-10-163931,"",2022-02-10-202316,192.168.182.128,76.179.29.142,WINDOWS,"Standard","",Windows 11 x64,3.8.0.398,4.15.1.560-ave.8.3.64.88:avpack.8.5.2.32:vdf.8.19.6.206:apc.2.10.1.7:vdfdate.20220210,true,"VMW_WS","",000c29e6c5b5,8.19.6.206,RedSox,77854781

note: "GroupName" is RedSox as it appears in the UI