Forum Discussion
MISP Sentinel Integration
Hi all,
I'm trying to integrate Sentinel with MISP using https://github.com/cudeso/misp2sentinel.
Everything is OK until I reach the Pyhton section https://github.com/cudeso/misp2sentinel?tab=readme-ov-file#python-environment
When I try to run the python script, I got the following error:
source sentinel/bin/activate
(sentinel) root@vm-misp:/misp2sentinel# ./sentinel/bin/python script.py
/misp2sentinel/sentinel/lib/python3.10/site-packages/pymisp/__init__.py:66: FutureWarning: This class is deprecated, use PyMISP instead
warnings.warn('This class is deprecated, use PyMISP instead', FutureWarning)
Traceback (most recent call last):
File "/misp2sentinel/script.py", line 1, in <module>
from pymisp import *
AttributeError: module 'pymisp' has no attribute 'EmailObject'
Any idea ??
Regards,
HA
Looks like you may have not have the required version of PyMISP. I would run "pip show pymisp" and check the version.
You could also just run "pip install --upgrade pymisp" to update and then check to make sure you have the "EmailObject" attribute.
Hope this helps
G.
- G_Wilson3468Iron Contributor
Looks like you may have not have the required version of PyMISP. I would run "pip show pymisp" and check the version.
You could also just run "pip install --upgrade pymisp" to update and then check to make sure you have the "EmailObject" attribute.
Hope this helps
G.- HA13029Brass ContributorHi Gregory,
I followed your advice and upgrade pymisp and now IT WORKS !!
IOC are now ingestion into Sentinel...
Many thanks for your help !!
Regards,
HA- G_Wilson3468Iron ContributorGlad to help.