MISP / MISP-STIX-Converter

A utility repo to assist with converting between MISP and STIX formats
GNU Lesser General Public License v3.0
64 stars 31 forks source link

US-Cert STIX Files #25

Closed zeroq closed 6 years ago

zeroq commented 6 years ago

Hi, if you include "import stix.extensions.marking.ais" in your imports before trying to load Stix file from XML it works fine without the need to remove US-Cert markings.

From the documentation of StixProject:

If you are writing code that needs to parse AIS markings, make sure that your program imports this module before beginning to parse any STIX documents: .. code-block:: python import stix.extensions.marking.ais

FloatingGhost commented 6 years ago

yeah I could but there's literally no reason to

works as is, so I'm not going to maybe break it by trying to include the esoteric marking formats of some random cert