Import configprops with RepCLI
search cancel

Import configprops with RepCLI

book

Article ID: 286402

calendar_today

Updated On:

Products

Carbon Black Cloud Endpoint Standard Carbon Black Cloud Enterprise EDR

Issue/Introduction

Use RepCLI to set configprops on an installed Endpoint Standard Sensor

Environment

  • Carbon Black Cloud Windows Sensor: Version 3.6 and higher
  • Microsoft Windows OS: Supported Versions

Resolution

  1. Create a new JSON file on the endpoint
  2. Save the Configprops settings you wish in the JSON file in this format 
    {
    	"Version": "1.0",
    	"ConfigProps": [
    		{
    			"Name": "<Configprop1 value>"
    			"Data": "<Configprop setting>"
    		},
    		{
    			"Name": "<Configprop2 value>"
    			"Data": "<Configprop2 setting>"
    		}
    	]
    }
    
  3. Run the RepCLI command
    repcli unlock <uninstall-code>
  4. Run the RepCLI command
    repcli addpolicy psc <full path to JSON file just created>
  5. Validate output message reflects the number of configprops set:
    Policy set successfully!
    Found:
    Policies[0]
    ConfigProps[2]
    ETWSessions[0]
    YaraRuleSets[0]
    PresentationInfo[0]

Additional Information

Getting Started With RepCLI