pycti 5.12.8__py3-none-any.whl → 5.12.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pycti might be problematic. Click here for more details.
- pycti/__init__.py +1 -1
- pycti/connector/opencti_connector_helper.py +8 -0
- {pycti-5.12.8.dist-info → pycti-5.12.9.dist-info}/METADATA +1 -1
- {pycti-5.12.8.dist-info → pycti-5.12.9.dist-info}/RECORD +7 -7
- {pycti-5.12.8.dist-info → pycti-5.12.9.dist-info}/LICENSE +0 -0
- {pycti-5.12.8.dist-info → pycti-5.12.9.dist-info}/WHEEL +0 -0
- {pycti-5.12.8.dist-info → pycti-5.12.9.dist-info}/top_level.txt +0 -0
pycti/__init__.py
CHANGED
|
@@ -307,6 +307,10 @@ class ListenQueue(threading.Thread):
|
|
|
307
307
|
)
|
|
308
308
|
self.pika_connection = pika.BlockingConnection(self.pika_parameters)
|
|
309
309
|
self.channel = self.pika_connection.channel()
|
|
310
|
+
try:
|
|
311
|
+
self.channel.confirm_delivery()
|
|
312
|
+
except Exception as err: # pylint: disable=broad-except
|
|
313
|
+
LOGGER.warning("%s", err)
|
|
310
314
|
self.channel.basic_qos(prefetch_count=1)
|
|
311
315
|
assert self.channel is not None
|
|
312
316
|
self.channel.basic_consume(
|
|
@@ -1011,6 +1015,10 @@ class OpenCTIConnectorHelper: # pylint: disable=too-many-public-methods
|
|
|
1011
1015
|
)
|
|
1012
1016
|
pika_connection = pika.BlockingConnection(pika_parameters)
|
|
1013
1017
|
channel = pika_connection.channel()
|
|
1018
|
+
try:
|
|
1019
|
+
channel.confirm_delivery()
|
|
1020
|
+
except Exception as err: # pylint: disable=broad-except
|
|
1021
|
+
LOGGER.warning("%s", err)
|
|
1014
1022
|
for sequence, bundle in enumerate(bundles, start=1):
|
|
1015
1023
|
self._send_bundle(
|
|
1016
1024
|
channel,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pycti/__init__.py,sha256=
|
|
1
|
+
pycti/__init__.py,sha256=bQAFG93XH48z1fk4bv3G-rY2c7t6EeLYmWsf7SV9iB0,4692
|
|
2
2
|
pycti/api/__init__.py,sha256=t78k-bMV5HrTAzNeWgL9sv-Qk5CvzS8ngXFlbTAYEIA,53
|
|
3
3
|
pycti/api/opencti_api_client.py,sha256=7BO-_TUU1Ih-zg7WFUNMXt_WIw_DVwPVMBqYSVUWTOY,29520
|
|
4
4
|
pycti/api/opencti_api_connector.py,sha256=53kV9IE1kcV5Q-Gbdj-2LKDc3ZxqQZUaqCXHeDjRVh8,3565
|
|
@@ -6,7 +6,7 @@ pycti/api/opencti_api_playbook.py,sha256=3CbxGZGQ_E967fpKQSamXJG-GZqlELZr6o4Z_mc
|
|
|
6
6
|
pycti/api/opencti_api_work.py,sha256=LK7gtVMzocmO2GCTkIpWXddxQS-z-7WFv0rjwQ0UCco,6908
|
|
7
7
|
pycti/connector/__init__.py,sha256=t78k-bMV5HrTAzNeWgL9sv-Qk5CvzS8ngXFlbTAYEIA,53
|
|
8
8
|
pycti/connector/opencti_connector.py,sha256=0vrZ8Y8ecbxegAP1YhpX6ybOZahYjjOkcId51D1oBi4,2449
|
|
9
|
-
pycti/connector/opencti_connector_helper.py,sha256=
|
|
9
|
+
pycti/connector/opencti_connector_helper.py,sha256=IwJcgK5thmYzdCXTcd1A42iDCUb2cZ50qq49VsvmhqQ,48037
|
|
10
10
|
pycti/connector/opencti_metric_handler.py,sha256=LWAc3RwbwUgbRvwtUaoOJ1SsfW7Cuq8RaN1jhJg-QSA,3548
|
|
11
11
|
pycti/entities/__init__.py,sha256=t78k-bMV5HrTAzNeWgL9sv-Qk5CvzS8ngXFlbTAYEIA,53
|
|
12
12
|
pycti/entities/opencti_attack_pattern.py,sha256=EZ3JSlK_Y58puV7iJ8U7irAgixpcZOb4IWlXCjojj8g,22265
|
|
@@ -60,8 +60,8 @@ pycti/utils/opencti_stix2.py,sha256=eUp4q09aaMmhcmtfUTamXcl_ctEh_ykpExJA0v6_2r8,
|
|
|
60
60
|
pycti/utils/opencti_stix2_splitter.py,sha256=Ht9Mp-W3gbwxIKEr7i_5NYpcDr3TA2gYdC4TzOz0G4c,4496
|
|
61
61
|
pycti/utils/opencti_stix2_update.py,sha256=NO-l7g9aUmZ2vP6BSxs-Gq8WXa7pnpcDiNQVtQ3TESE,14515
|
|
62
62
|
pycti/utils/opencti_stix2_utils.py,sha256=XaDLRN9BE-n8chO9OEsCMoonAuoMjoGS_OSJyrxVXDY,3677
|
|
63
|
-
pycti-5.12.
|
|
64
|
-
pycti-5.12.
|
|
65
|
-
pycti-5.12.
|
|
66
|
-
pycti-5.12.
|
|
67
|
-
pycti-5.12.
|
|
63
|
+
pycti-5.12.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
64
|
+
pycti-5.12.9.dist-info/METADATA,sha256=NPjH_IxCI5PrOvdovGFe0ruyV4uuz_SmDkav_rS3j3M,5297
|
|
65
|
+
pycti-5.12.9.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
66
|
+
pycti-5.12.9.dist-info/top_level.txt,sha256=cqEpxitAhHP4VgSA6xmrak6Yk9MeBkwoMTB6k7d2ZnE,6
|
|
67
|
+
pycti-5.12.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|