Skip to content

Commit bfdda49

Browse files
author
Samuel Hassine
committed
[client] Update the examples
1 parent 8a82f3d commit bfdda49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/config.yml.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
opencti:
2-
url: 'http://opencti.example.com'
2+
url: 'http://localhost'
33
token : 'ChangeMe'

examples/stix2/import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
opencti_api_client = OpenCTIApiClient(config['opencti']['url'], config['opencti']['token'])
1616

1717
# Import the bundle
18-
opencti_api_client.send(file_to_import, False)
18+
opencti_api_client.stix2_import_bundle_from_file(file_to_import, False)

0 commit comments

Comments
 (0)