This project allows for the development of Connected Assets and Risks (CAR) connectors for the IBM Cloud Pak for Security platform. See the reference connector for a sample. This should be used as a template for developing new connectors.
See the developer guide for building a new CAR connector.
- Open a terminal
- Optionally create/use virtual env:
python3.9 -m venv venv
. ./venv/bin/activate
- CD into a connector folder you want to run:
cd ./cd connectors/<CONNECTOR_NAME>/
- Install python dependancies:
pip install -r requirements.txt
- Run the command to start import. Each connector has a different set of options that you can find in README.md file of each connector:
python3 app.py -source "<source>" -car-service-key "<car-service-key>" -car-service-password "<car-service-password>" -car-service-url "<car-service-url>" -d .... OTHER_OPTIONS
See the build and deploy guide to install connector in CP4S cluster