We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f55a481 commit ea0e5fcCopy full SHA for ea0e5fc
examples/export_intrusion_set_stix2.py
@@ -14,7 +14,7 @@
14
intrusion_set = opencti_api_client.intrusion_set.read(filters=[{'key': 'name', 'values': ['APT28']}])
15
16
# Create the bundle
17
-bundle = opencti_api_client.stix2.export_entity('campaign', '0d31f298-da86-4330-8c0a-4fcfa44f6ae0', 'full')
+bundle = opencti_api_client.stix2.export_entity('intrusion-set', intrusion_set['id'], 'full')
18
json_bundle = json.dumps(bundle, indent=4)
19
20
# Write the bundle
0 commit comments