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

Commit 24f0958

Browse files
author
Samuel Hassine
committed
[client] Prepare new release
1 parent 01fe564 commit 24f0958

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/export_report_stix2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
opencti_api_client = OpenCTIApiClient(api_url, api_token)
1212

1313
# Get the report
14-
report = opencti_api_client.report.read(id="f465e240-9bfe-41dd-888c-70d7d85143c1")
14+
report = opencti_api_client.report.read(id="c5577c45-533e-4bc5-8428-6cc6274f2a01")
1515

1616
# Create the bundle
1717
bundle = opencti_api_client.stix2.export_entity("report", report["id"], "full")
1818
json_bundle = json.dumps(bundle, indent=4)
1919

2020
# Write the bundle
21-
f = open("Unit42_Sofacy.json", "w")
21+
f = open("report.json", "w")
2222
f.write(json_bundle)
2323
f.close()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
print("warning: pypandoc module not found, could not convert Markdown to RST")
1414
read_md = lambda f: open(f, "r").read()
1515

16-
VERSION = "2.1.12"
16+
VERSION = "2.1.13"
1717

1818

1919
class VerifyVersionCommand(install):

0 commit comments

Comments
 (0)