TheHive-Project / TheHive-Project/Cortex-Analyzers
MISP_2_1
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 490
- Forks
- 405
- Avg merge
- 2d 43m
- Merged PRs (30d)
- 8
Description
Request Type
Analyzer
Work Environment
| Question | Answer |
|---|---|
| OS version (server) | Ubuntu 18.04 |
| Cortex Analyzer Name | MISP_2_1 |
| Cortex Analyzer Version | Latest. |
| Cortex Version | 3.5 |
Description
Error when I use the MISP Analyzer:
CRITICAL [create_misp_object.py:24 - <module>() ] You need lief >= 0.11.0. The quick and dirty fix is: pip3 install --force pymisp[fileobjects]Traceback (most recent call last): File "/opt/Cortex-Analyzers/analyzers/MISP/misp.py", line 80, in <module> MISPAnalyzer().run() File "/opt/Cortex-Analyzers/analyzers/MISP/misp.py", line 29, in __init__ proxies={'http': self.http_proxy, 'https': self.https_proxy}) File "/opt/Cortex-Analyzers/analyzers/MISP/mispclient.py", line 62, in __init__ proxies=proxies)) File "/usr/local/lib/python3.6/dist-packages/pymisp/api.py", line 142, in __init__ if brotli_supported(): File "/usr/local/lib/python3.6/dist-packages/pymisp/api.py", line 97, in brotli_supported major, minor, patch = urllib3.__version__.split('.') # noqa: F811ValueError: not enough values to unpack (expected 3, got 2)
pymisp is installed and working on the MISP server.
Where to look?
P.S: VirusTotal and IpInfo are working fine.
Regards,
Khalid.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the traceback and inspect analyzers/MISP/misp.py and analyzers/MISP/mispclient.py, especially the pymisp initialization and the urllib3 version check shown in the error. Reproduce the analyzer startup in the reported environment and determine the compatible dependency versions; done means the MISP analyzer starts without the ValueError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100