Open cwrw404 opened 2 years ago
I have the same issue, Could someone tell me how to access the file opencti.py on Portainer environment?
Hello all, I have the exact same issue. Can anyone help us in this bug?
The version in the current cortexneurons/opencti_searchobservables:2 docker image is pycti v5.0.3. The actual current version is pycti v5.3.5
One option is to go into the cortexneurons/opencti_searchobservables:2 docker image (remember to override the entrypoint to a bash shell), update pycti, create a new local image and add the updated analyzer as a custom analyzer (this will help - https://thehive-project.github.io/Cortex-Analyzers/dev_guides/dockerize-your-custom-analyzers-responders/)
You'll need to drop into Cortex container and update the various files. I found it easier to move files from /opt/cortex/jobs as that is mapped to the host by the default settings.
I was so nearly there but struggled with getting Cortex to see my updated local image... which might be another bug?
I have the same problem. I ran the upgrade "pip3 install pycti==5.3.7" ok. This resolves the hashes analysis from TheHive to OpenCTI vía Cortex but with the domain/url/hostname/IP analysis it returns the following error in Cortex:
{ "errorMessage": "", "input": null, "success": false }
@cwrw404 I installed older version of Opencti i.e. 5.0.3, it uses pycti 5.0.3. But still opencti cortex analyzer isn't working. I am experiencing the error of unknown cryptographic key.
Hi! Any solution found for this bug?
I have the same problem. I ran the upgrade "pip3 install pycti==5.3.7" ok. This resolves the hashes analysis from TheHive to OpenCTI vía Cortex but with the domain/url/hostname/IP analysis it returns the following error in Cortex:
{ "errorMessage": "", "input": null, "success": false }
Hi. I have the same problem. Could you resolve it?
Just need a new tag here to take into account the new version of the Python library in the analyzer.
Description
I have a docker instance running TheHive's Cortex and OpenCTI all within the same docker-compose stack (so connected).
When attempting to run an analyzer against OpenCTI, I get the error below.
This seems to be related to an outdated version of OpenCTI Python library - is there a way to update it?
Environment
Docker container setup using Portainer stack (docker-compose) Cortex v3.1.4-1 OpenCTI v5.3.5
Reproducible Steps
Submit any IoC (in this instance it's a known indicator ending in .xyz which has been redacted from the log) for analysis using OpenCTI_SearchObservables_2_0 or OpenCTI_SearchExactObservable_2_0 in Cortex
Expected Output
Query the OpenCTI db and retrieve known results
Actual Output
Cortex Error
OpenCTI log: