You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The connector-cape is not functioning correctly and throws the following error:
$ sudo docker compose logs | grep cape
connector-cape-1 | {"timestamp": "2025-01-30T17:05:55.767988Z", "level": "ERROR", "name": "CAPE", "message": "An error Occured fetching task 1; type object 'Malware' has no attribute 'generate_id'", "exc_info": "Traceback (most recent call last):\n File \"/opt/opencti-cape/main.py\", line 163, in run\n openCTIInterface(\n File \"/opt/opencti-cape/cape/telemetry.py\", line 70, in __init__\n self.processAndSubmit() # This is where the magic happens\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/opencti-cape/cape/telemetry.py\", line 570, in processAndSubmit\n Malware = self.Get_Malware(self.report.detections)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/opencti-cape/cape/telemetry.py\", line 464, in Get_Malware\n id=Malware.generate_id(name=Detection), name=Detection, is_family=False\n ^^^^^^^^^^^^^^^^^^^\nAttributeError: type object 'Malware' has no attribute 'generate_id'", "taskName": null}
It appears that the Malware class name from stix2.v21 is conflicting with the Malware class from pycti, causing the generate_id method to be inaccessible.
Environment
OS (where OpenCTI server runs): Ubuntu 22.04.4 LTS
OpenCTI version: OpenCTI 6.4.10
OpenCTI client: python
Connector: connector-cape 6.4.10
Reproducible Steps
Configure connector-cape on 6.4.10, observe nothing produced by connector other than above error
Expected Output
Connector takes in CAPE reports.
Actual Output
No output.
The text was updated successfully, but these errors were encountered:
t-mtsmt
added
bug
use for describing something not working as expected
needs triage
use to identify issue needing triage from Filigran Product team
labels
Jan 30, 2025
Description
The connector-cape is not functioning correctly and throws the following error:
It appears that the Malware class name from stix2.v21 is conflicting with the Malware class from pycti, causing the generate_id method to be inaccessible.
Environment
Reproducible Steps
Configure connector-cape on 6.4.10, observe nothing produced by connector other than above error
Expected Output
Connector takes in CAPE reports.
Actual Output
No output.
The text was updated successfully, but these errors were encountered: