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

Commit f026020

Browse files
author
Samuel Hassine
committed
[client] Fix logging SSL verify
1 parent 1885dde commit f026020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pycti/connector/opencti_connector_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,15 +372,15 @@ def listen_stream(
372372

373373
# Get the last event ID with the "connected" event msg
374374
if url is not None and token is not None:
375-
ssl_verify = verify if verify is not None else True
375+
opencti_ssl_verify = verify if verify is not None else True
376376
logging.info(
377377
"Starting listening stream events with SSL verify to: "
378378
+ str(opencti_ssl_verify)
379379
)
380380
messages = SSEClient(
381381
url + "/stream",
382382
headers={"Authorization": "Bearer " + token},
383-
verify=ssl_verify,
383+
verify=opencti_ssl_verify,
384384
)
385385
else:
386386
logging.info(

0 commit comments

Comments
 (0)