@@ -674,6 +674,8 @@ def create(self, **kwargs):
674674 objects = kwargs .get ("objects" , None )
675675 object_marking = kwargs .get ("objectMarking" , None )
676676 object_label = kwargs .get ("objectLabel" , None )
677+ object_assignee = kwargs .get ("objectAssignee" , None )
678+ object_participant = kwargs .get ("objectParticipant" , None )
677679 external_references = kwargs .get ("externalReferences" , None )
678680 revoked = kwargs .get ("revoked" , None )
679681 confidence = kwargs .get ("confidence" , None )
@@ -709,6 +711,8 @@ def create(self, **kwargs):
709711 "objectMarking" : object_marking ,
710712 "objectLabel" : object_label ,
711713 "objectOrganization" : granted_refs ,
714+ "objectAssignee" : object_assignee ,
715+ "objectParticipant" : object_participant ,
712716 "objects" : objects ,
713717 "externalReferences" : external_references ,
714718 "revoked" : revoked ,
@@ -846,6 +850,16 @@ def import_from_stix2(self, **kwargs):
846850 stix_object ["x_opencti_workflow_id" ] = (
847851 self .opencti .get_attribute_in_extension ("workflow_id" , stix_object )
848852 )
853+ if "x_opencti_assignee_ids" not in stix_object :
854+ stix_object ["x_opencti_assignee_ids" ] = (
855+ self .opencti .get_attribute_in_extension ("assignee_ids" , stix_object )
856+ )
857+ if "x_opencti_participant_ids" not in stix_object :
858+ stix_object ["x_opencti_participant_ids" ] = (
859+ self .opencti .get_attribute_in_extension (
860+ "participant_ids" , stix_object
861+ )
862+ )
849863
850864 return self .create (
851865 stix_id = stix_object ["id" ],
@@ -889,6 +903,16 @@ def import_from_stix2(self, **kwargs):
889903 if "x_opencti_granted_refs" in stix_object
890904 else None
891905 ),
906+ objectAssignee = (
907+ stix_object ["x_opencti_assignee_ids" ]
908+ if "x_opencti_assignee_ids" in stix_object
909+ else None
910+ ),
911+ objectParticipant = (
912+ stix_object ["x_opencti_participant_ids" ]
913+ if "x_opencti_participant_ids" in stix_object
914+ else None
915+ ),
892916 x_opencti_workflow_id = (
893917 stix_object ["x_opencti_workflow_id" ]
894918 if "x_opencti_workflow_id" in stix_object
0 commit comments