@@ -673,6 +673,7 @@ def import_object(
673673 "marking-definition" : self .opencti .marking_definition .import_from_stix2 ,
674674 "attack-pattern" : self .opencti .attack_pattern .import_from_stix2 ,
675675 "campaign" : self .opencti .campaign .import_from_stix2 ,
676+ "channel" : self .opencti .channel .import_from_stix2 ,
676677 "event" : self .opencti .event .import_from_stix2 ,
677678 "note" : self .opencti .note .import_from_stix2 ,
678679 "observed-data" : self .opencti .observed_data .import_from_stix2 ,
@@ -693,7 +694,6 @@ def import_object(
693694 "malware" : self .opencti .malware .import_from_stix2 ,
694695 "threat-actor" : self .opencti .threat_actor .import_from_stix2 ,
695696 "tool" : self .opencti .tool .import_from_stix2 ,
696- "channel" : self .opencti .channel .import_from_stix2 ,
697697 "narrative" : self .opencti .narrative .import_from_stix2 ,
698698 "vulnerability" : self .opencti .vulnerability .import_from_stix2 ,
699699 "incident" : self .opencti .incident .import_from_stix2 ,
@@ -1598,6 +1598,7 @@ def prepare_export(
15981598 reader = {
15991599 "Attack-Pattern" : self .opencti .attack_pattern .read ,
16001600 "Campaign" : self .opencti .campaign .read ,
1601+ "Channel" : self .opencti .channel .read ,
16011602 "Note" : self .opencti .note .read ,
16021603 "Observed-Data" : self .opencti .observed_data .read ,
16031604 "Opinion" : self .opencti .opinion .read ,
@@ -1753,6 +1754,7 @@ def export_entity(
17531754 reader = {
17541755 "Attack-Pattern" : self .opencti .attack_pattern .read ,
17551756 "Campaign" : self .opencti .campaign .read ,
1757+ "Channel" : self .opencti .channel .read ,
17561758 "Event" : self .opencti .campaign .read ,
17571759 "Note" : self .opencti .note .read ,
17581760 "Observed-Data" : self .opencti .observed_data .read ,
@@ -1772,7 +1774,6 @@ def export_entity(
17721774 "Malware" : self .opencti .malware .read ,
17731775 "Threat-Actor" : self .opencti .threat_actor .read ,
17741776 "Tool" : self .opencti .tool .read ,
1775- "Channel" : self .opencti .channel .read ,
17761777 "Narrative" : self .opencti .narrative .read ,
17771778 "Vulnerability" : self .opencti .vulnerability .read ,
17781779 "Incident" : self .opencti .incident .read ,
@@ -1855,6 +1856,7 @@ def export_list(
18551856 "Stix-Domain-Object" : self .opencti .stix_domain_object .list ,
18561857 "Attack-Pattern" : self .opencti .attack_pattern .list ,
18571858 "Campaign" : self .opencti .campaign .list ,
1859+ "Channel" : self .opencti .channel .list ,
18581860 "Event" : self .opencti .event .list ,
18591861 "Note" : self .opencti .note .list ,
18601862 "Observed-Data" : self .opencti .observed_data .list ,
@@ -1874,7 +1876,6 @@ def export_list(
18741876 "Malware" : self .opencti .malware .list ,
18751877 "Threat-Actor" : self .opencti .threat_actor .list ,
18761878 "Tool" : self .opencti .tool .list ,
1877- "Channel" : self .opencti .channel .list ,
18781879 "Narrative" : self .opencti .narrative .list ,
18791880 "Vulnerability" : self .opencti .vulnerability .list ,
18801881 "Incident" : self .opencti .incident .list ,
0 commit comments