Data Is Bad for Config List Entry Due to Blank Device Name
search cancel

Data Is Bad for Config List Entry Due to Blank Device Name

book

Article ID: 286074

calendar_today

Updated On:

Products

Carbon Black App Control (formerly Cb Protection)

Issue/Introduction

  • Agents Reporting events similar to:
    Data is bad for Config List entry. Id[###], Version[######], Data[(Standard disk drives)||0|1|0|SD000########|].

Environment

  • App Control Agent: 8.7.x - 8.9.4
  • App Control Server: 8.7.x - 8.10.4

Cause

A name was not given by the OS/Agent. Our code does not expect this, so we see it as an invalid configlist item.

Data[(Standard disk drives)||0|1|0|SD000########|
-Note that the name should be here ")||0" between the empty ||

Resolution

  1. Give the device a name in dbo.devices
    use das; update dbo.devices set name = 'volume0' where device_id = X
    -- replace the device_id with the correct id
    
  2. Give the device a name in dbo.device_rules
    use das; update dbo.device_rules set device_name = 'volume0' where device_rule_id = X
    -- replace the device_rule_id with the correct id
    
  3. Navigate to:https://servernamehere/device-details.php?deviceId=X
  4. Change the status of the device to something (other than what it is currently), then change it back to what it should be set to.

Additional Information

The above actions will make it so the corrupt CL is marked as obsolete, and instead replaced it with configlist version which has the name we gave it.