We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a46fe7f commit 0e6d4a2Copy full SHA for 0e6d4a2
examples/import_stix2_file.py
@@ -3,8 +3,8 @@
3
from pycti import OpenCTIApiClient
4
5
# Variables
6
-api_url = "http://localhost:4000"
7
-api_token = "1197406e-9d93-4d87-be55-a4f96f400995"
+api_url = "https://demo.opencti.io"
+api_token = "2b4f29e3-5ea8-4890-8cf5-a76f61f1e2b2"
8
9
# OpenCTI initialization
10
opencti_api_client = OpenCTIApiClient(api_url, api_token)
@@ -13,4 +13,4 @@
13
file_to_import = "./test.json"
14
15
# Import the bundle
16
-opencti_api_client.stix2.import_bundle_from_file(file_to_import, True)
+opencti_api_client.stix2.import_bundle_from_file(file_to_import, True)
0 commit comments