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 documentation
pull/8053/head
chrisr3d 2021-12-22 11:46:48 +01:00
parent 6cf7d42791
commit 7da4deba07
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 2 additions and 2 deletions

View File

@ -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 = {}