-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import stix v2.1 to MISP #95
Comments
I opened an issue in PyMISP project as well MISP/PyMISP#704 |
Could you use and test the following approach for ingesting your stix files ? https://github.com/MISP/MISP/tree/2.4/tools/ingest_stix Thanks a lot. |
nearly there, running the suggested script:
gave me a
checking error logs :
my packages versions , I think I have the last version of everything stix related, just upgraded them all:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in the file MISP-Taxii-Server/misp_taxii_hooks/hooks.py
line containing, package = pymisp.tools.stix.load_stix(StringIO(block))
it seems here we can only load stix v1. tried with stix v2, stix v2.1 the file just get skipped, because misp attributes aren't recognized, therefore still an empty event is uploaded to misp.
it seems there's some mapping that needs to be done between misp and stix v2.1
I would assume the main code for this mapping should be implemented in the pymisp library.
btw when uploading a stix v2.1 directly to misp via the GUI (in the menu add event, import from stix 2.0) it works perfectly, because they dont rely on pymisp to load the file.
question is simple: I want to push stix2.1 files, to MISP-Taxii-Server, but doesnt seems to be implemented yet.
see attached file for a sample stix v2.1 file
blast.json.zip
The text was updated successfully, but these errors were encountered: