cbapi-python icon indicating copy to clipboard operation
cbapi-python copied to clipboard

CBAPI issue with python 3.11 version

Open hassan-88 opened this issue 3 years ago • 0 comments

I am seeing this behaviour using the CBAPI with python 3.11:

  • OS: Kali linux
  • Carbon Black Product: EDR Response
  • Python Version: 3.11

Describe the bug We installed the CBAPI package on our instance and we are using the "Sensor_export.py" provided by CarbonBlack developper. We noticed that using python3.10 can launch the script correctly but using python 3.11 generate the error below.

Traceback (most recent call last): File "/home/kali/.local/bin/CarbonBlack/sensor_export_cst.py", line 5, in from cbapi.response.models import Sensor ModuleNotFoundError: No module named 'cbapi'

https://github.com/carbonblack/cbapi-python/blob/master/examples/response/sensor_export.py

hassan-88 avatar Feb 23 '23 13:02 hassan-88