mirror of https://github.com/MISP/MISP
fix: [stix1 export] Ordering object types to avoid validation issues
- STIX validator seems to dislike `Observables` objects coming after `Indicators`, so we put the object types in the order they are presented in the documentationpull/8053/head
parent
6cf7d42791
commit
7da4deba07
|
@ -91,8 +91,8 @@ class StixAttributesExport(StixExport):
|
|||
super().__init__(format, debug)
|
||||
self._parser = MISPtoSTIX1AttributesParser(orgname, version)
|
||||
self.__features = (
|
||||
'campaigns', 'courses_of_action', 'exploit_targets', 'indicators',
|
||||
'observables', 'threat_actors', 'ttps'
|
||||
'observables', 'indicators', 'ttps', 'exploit_targets',
|
||||
'courses_of_action', 'campaigns', 'threat_actors'
|
||||
)
|
||||
self._output_files = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue