From d8dc914e2ae86ad7d20c0c919f63eefdf5d085a1 Mon Sep 17 00:00:00 2001 From: Andreas Misje Date: Tue, 13 Aug 2024 09:08:17 +0200 Subject: [PATCH] Update dependencies --- build_metadata.json | 3 ++- docs/requirements.txt | 2 +- src/requirements.txt | 6 +++--- src/wazuh/wazuh.py | 1 - tests/requirements.txt | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build_metadata.json b/build_metadata.json index 586dcf7..57910cb 100644 --- a/build_metadata.json +++ b/build_metadata.json @@ -2,6 +2,7 @@ "opencti_version": [ "6.1.12", "6.1.2", - "6.2.7" + "6.2.7", + "6.2.12" ] } diff --git a/docs/requirements.txt b/docs/requirements.txt index 111085f..50167a0 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,5 +1,5 @@ autodoc_pydantic==2.2.0 -sphinx==7.3.7 +sphinx==8.0.2 sphinx_paramlinks==0.6.0 sphinx_rtd_theme==2.0.0 sphinxcontrib-mermaid==0.9.2 diff --git a/src/requirements.txt b/src/requirements.txt index 3c7ad87..c3bc595 100644 --- a/src/requirements.txt +++ b/src/requirements.txt @@ -1,5 +1,5 @@ babel==2.15.0 dateparser==1.2.0 -pycti==6.2.7 -pydantic==2.7.4 -pydantic_settings==2.3.3 +pycti==6.2.12 +pydantic==2.8.2 +pydantic_settings==2.4.0 diff --git a/src/wazuh/wazuh.py b/src/wazuh/wazuh.py index e1c4767..c3aee91 100644 --- a/src/wazuh/wazuh.py +++ b/src/wazuh/wazuh.py @@ -260,7 +260,6 @@ def _process_message(self, data): # in a search (#9). # TODO: alternatively, add OpenSearch DSL as a custom pattern_type_ov and use something like mitre/stix2patterns_translator to convert int o elastic_query if not ind_obs: - # FIXME: Not an error: just print as message. Throw a custom exception for messages? return "Indicator is not based on any observables" elif (count := len(ind_obs)) > 1: log.warning( diff --git a/tests/requirements.txt b/tests/requirements.txt index 8bb7ec3..b9c84e0 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,2 +1,2 @@ -pytest==8.2.2 +pytest==8.3.2 pytest-cov==5.0.0