How to Export and Import Watchlists using API
search cancel

How to Export and Import Watchlists using API

book

Article ID: 287761

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

How to export watchlists from an EDR server to import into a separate EDR server. 

Environment

  • Carbon Black EDR Server: All Versions

Resolution

  1. Generate an API token with "Global Admin" permissions.
  2. Install the cbapi library via pip. 
    pip3 install cbapi
  3. Download the following two scripts from the cbapi-python repository. 
    • watchlist_exporter.py
    • watchlist_importer.py
  4. Execute the scripts using Python3