SOLVED

MISP Sentinel Integration

Copper Contributor

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

3 Replies
best response confirmed by HA13029 (Copper Contributor)
Solution

@HA13029 

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.

Hi 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
Glad to help.
1 best response

Accepted Solutions
best response confirmed by HA13029 (Copper Contributor)
Solution

@HA13029 

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.

View solution in original post