Skip to content

Commit

Permalink
fix: [stix2 import] Keeping UUID from Custom objects used to describe…
Browse files Browse the repository at this point in the history
… a Galaxy Cluster which we import back to MISP
  • Loading branch information
chrisr3d committed Feb 11, 2025
1 parent 6ce7d4a commit b7ecf80
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ def _parse_custom_galaxy_cluster(
else:
galaxy_type = custom_galaxy.x_misp_type
cluster_args = {
'type': galaxy_type,
'value': custom_galaxy.x_misp_value,
'description': custom_galaxy.x_misp_description
'type': galaxy_type, 'value': custom_galaxy.x_misp_value,
'description': custom_galaxy.x_misp_description,
'uuid': self.main_parser._sanitise_uuid(custom_galaxy.id)
}
if hasattr(custom_galaxy, 'x_misp_meta'):
cluster_args['meta'] = custom_galaxy.x_misp_meta
Expand Down

0 comments on commit b7ecf80

Please sign in to comment.