Closed stmtstk closed 1 year ago
Hi all,
I've been trying out the KVROCKS branch version and ran into an issue where an Internal Server Error occurred when I tried to share a URL with the specified MISP. After checking some source files, I found out why the error occurred.
KVROCKS
https://github.com/CIRCL/AIL-framework/blob/ab7b2bdbabc7a19e979a4a597f7cd07bba76efa3/bin/exporter/MISPExporter.py#L173
The following code caused an error because ail_objects was not defined:
misp_objects = ail_objects.get_misp_objects(objs)
To fix this, we should define ail_objects like this before we use it:
ail_objects
from lib.objects import ail_objects
Additionally, another error occurred because I am using the MISP with a self-signed certification. Therefore, I modified self.ssl value.
self.ssl
https://github.com/CIRCL/AIL-framework/blob/ab7b2bdbabc7a19e979a4a597f7cd07bba76efa3/bin/exporter/MISPExporter.py#L100
return PyMISP(self.url, self.key, False)
Hey @stmtstk ! Thanks for the test and the report ! Fixed with 86b1fda59b0e2b5a7fdaa392b58b7570a2b9f3c2
Good news! Thanks!
Hi all,
I've been trying out the
KVROCKS
branch version and ran into an issue where an Internal Server Error occurred when I tried to share a URL with the specified MISP. After checking some source files, I found out why the error occurred.https://github.com/CIRCL/AIL-framework/blob/ab7b2bdbabc7a19e979a4a597f7cd07bba76efa3/bin/exporter/MISPExporter.py#L173
The following code caused an error because ail_objects was not defined:
To fix this, we should define
ail_objects
like this before we use it:Additionally, another error occurred because I am using the MISP with a self-signed certification. Therefore, I modified
self.ssl
value.https://github.com/CIRCL/AIL-framework/blob/ab7b2bdbabc7a19e979a4a597f7cd07bba76efa3/bin/exporter/MISPExporter.py#L100