Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 24ea6d9

Browse files
[client] Handle platforms args from mitre extension (#8245)
1 parent 50b7b6d commit 24ea6d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pycti/entities/opencti_indicator.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,12 @@ def import_from_stix2(self, **kwargs):
401401
stix_object["x_opencti_workflow_id"] = (
402402
self.opencti.get_attribute_in_extension("workflow_id", stix_object)
403403
)
404+
if "x_mitre_plateforms" not in stix_object:
405+
stix_object["x_mitre_plateforms"] = (
406+
self.opencti.get_attribute_in_mitre_extension(
407+
"platforms", stix_object
408+
)
409+
)
404410

405411
return self.create(
406412
stix_id=stix_object["id"],

0 commit comments

Comments
 (0)