Skip to content

CBAPI issue with python 3.11 version #322

@hassan-88

Description

@hassan-88

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions