pycti 6.1.5__py3-none-any.whl → 6.1.6__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 +39 -0
- {pycti-6.1.5.dist-info → pycti-6.1.6.dist-info}/METADATA +1 -1
- {pycti-6.1.5.dist-info → pycti-6.1.6.dist-info}/RECORD +7 -7
- {pycti-6.1.5.dist-info → pycti-6.1.6.dist-info}/LICENSE +0 -0
- {pycti-6.1.5.dist-info → pycti-6.1.6.dist-info}/WHEEL +0 -0
- {pycti-6.1.5.dist-info → pycti-6.1.6.dist-info}/top_level.txt +0 -0
pycti/__init__.py
CHANGED
|
@@ -838,6 +838,45 @@ class OpenCTIConnectorHelper: # pylint: disable=too-many-public-methods
|
|
|
838
838
|
self.connector_state = connector_configuration["connector_state"]
|
|
839
839
|
self.connector_config = connector_configuration["config"]
|
|
840
840
|
|
|
841
|
+
# Overwrite connector config for RabbitMQ if given manually / in conf
|
|
842
|
+
self.connector_config["connection"]["host"] = get_config_variable(
|
|
843
|
+
"MQ_HOST",
|
|
844
|
+
["mq", "host"],
|
|
845
|
+
config,
|
|
846
|
+
default=self.connector_config["connection"]["host"],
|
|
847
|
+
)
|
|
848
|
+
self.connector_config["connection"]["port"] = get_config_variable(
|
|
849
|
+
"MQ_PORT",
|
|
850
|
+
["mq", "port"],
|
|
851
|
+
config,
|
|
852
|
+
isNumber=True,
|
|
853
|
+
default=self.connector_config["connection"]["port"],
|
|
854
|
+
)
|
|
855
|
+
self.connector_config["connection"]["vhost"] = get_config_variable(
|
|
856
|
+
"MQ_VHOST",
|
|
857
|
+
["mq", "vhost"],
|
|
858
|
+
config,
|
|
859
|
+
default=self.connector_config["connection"]["vhost"],
|
|
860
|
+
)
|
|
861
|
+
self.connector_config["connection"]["use_ssl"] = get_config_variable(
|
|
862
|
+
"MQ_USE_SSL",
|
|
863
|
+
["mq", "use_ssl"],
|
|
864
|
+
config,
|
|
865
|
+
default=self.connector_config["connection"]["use_ssl"],
|
|
866
|
+
)
|
|
867
|
+
self.connector_config["connection"]["user"] = get_config_variable(
|
|
868
|
+
"MQ_USER",
|
|
869
|
+
["mq", "user"],
|
|
870
|
+
config,
|
|
871
|
+
default=self.connector_config["connection"]["user"],
|
|
872
|
+
)
|
|
873
|
+
self.connector_config["connection"]["pass"] = get_config_variable(
|
|
874
|
+
"MQ_PASS",
|
|
875
|
+
["mq", "pass"],
|
|
876
|
+
config,
|
|
877
|
+
default=self.connector_config["connection"]["pass"],
|
|
878
|
+
)
|
|
879
|
+
|
|
841
880
|
# Start ping thread
|
|
842
881
|
if not self.connect_run_and_terminate:
|
|
843
882
|
self.ping = PingAlive(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pycti/__init__.py,sha256=
|
|
1
|
+
pycti/__init__.py,sha256=JpxQocn_5hQyE1Gh4qdFN2zwexBbR8QDciuo9uBw5gI,5035
|
|
2
2
|
pycti/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
pycti/api/opencti_api_client.py,sha256=oTPEdzbSTtN1NMMDFqv_DIOXuUwNz8cN7oXu3saSXyA,29701
|
|
4
4
|
pycti/api/opencti_api_connector.py,sha256=fYF0Jy9KIMFNt1RC_A1rpWomVJ-oj5HiSsBem4W0J5U,3549
|
|
@@ -6,7 +6,7 @@ pycti/api/opencti_api_playbook.py,sha256=OkqDawpnMYIHz5sD4djlJ_KgORkfvQ7YbJwttxE
|
|
|
6
6
|
pycti/api/opencti_api_work.py,sha256=JLfl7oy6Cq9IrYW_kUrqwzN46FoVzyIn1JJQKyK0h_w,7615
|
|
7
7
|
pycti/connector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
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=w_KAUr-anmomlejfZfUD4Pb3cha5cuI5NclXUlkbRww,61944
|
|
10
10
|
pycti/connector/opencti_metric_handler.py,sha256=4jXHeJflomtHjuQ_YU0b36TG7o26vOWbY_jvU8Ezobs,3725
|
|
11
11
|
pycti/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
12
|
pycti/entities/opencti_attack_pattern.py,sha256=ycAR0cReJ1dd_edQPAL6qBrFvvTx10GJFMTezyK91cg,21471
|
|
@@ -61,8 +61,8 @@ pycti/utils/opencti_stix2.py,sha256=Ovv8mS7Df0FTNZwO2Vful8XNWY5PwNuyrrLC3bhiOqI,
|
|
|
61
61
|
pycti/utils/opencti_stix2_splitter.py,sha256=A2GqoiFzEga8hslgA3mm4FDoObFsWgx4zK4DdcWTguc,4907
|
|
62
62
|
pycti/utils/opencti_stix2_update.py,sha256=CnMyqkeVA0jgyxEcgqna8sABU4YPMjkEJ228GVurIn4,14658
|
|
63
63
|
pycti/utils/opencti_stix2_utils.py,sha256=4r9qglN3AIN8JH1B9Ts2o20Qn3K203M4c5-lIPzRpZ4,4138
|
|
64
|
-
pycti-6.1.
|
|
65
|
-
pycti-6.1.
|
|
66
|
-
pycti-6.1.
|
|
67
|
-
pycti-6.1.
|
|
68
|
-
pycti-6.1.
|
|
64
|
+
pycti-6.1.6.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
65
|
+
pycti-6.1.6.dist-info/METADATA,sha256=IXJgdHtL2CcWV8049BspANXBxST0TOzjm9yc3f2detY,5397
|
|
66
|
+
pycti-6.1.6.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
67
|
+
pycti-6.1.6.dist-info/top_level.txt,sha256=cqEpxitAhHP4VgSA6xmrak6Yk9MeBkwoMTB6k7d2ZnE,6
|
|
68
|
+
pycti-6.1.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|