From 80d909985d5165be7450aab0fe704184bc837b7e Mon Sep 17 00:00:00 2001 From: Mateo Cervilla Date: Fri, 28 Jul 2023 18:24:09 -0300 Subject: [PATCH] feat(#3723): Adds AlmaLinux init configurations --- deps/wazuh_testing/wazuh_testing/mocking/__init__.py | 9 +++++++++ .../modules/vulnerability_detector/__init__.py | 1 + 2 files changed, 10 insertions(+) diff --git a/deps/wazuh_testing/wazuh_testing/mocking/__init__.py b/deps/wazuh_testing/wazuh_testing/mocking/__init__.py index 44e799bbc9..d68b6c723d 100644 --- a/deps/wazuh_testing/wazuh_testing/mocking/__init__.py +++ b/deps/wazuh_testing/wazuh_testing/mocking/__init__.py @@ -132,6 +132,15 @@ 'os_uname': 'Linux |localhost|5.3.18-22-default |#1 SMP Wed Jun 3 12:16:43 UTC 2020 (720aeba)|x86_64', 'os_arch': 'x64', 'config_sum': '', 'merged_sum': '', 'manager_host': 'localhost.localdomain', 'node_name': 'node01', 'date_add': '1652381429', 'last_keepalive': '253402300799', + 'sync_status': 'synced', 'connection_status': 'active'}, + 'AlmaLinux-8': {'hostname': 'localhost', 'architecture': 'x64', 'os_name': 'AlmaLinux', 'os_version': '8', + 'os_codename': '', 'os_major': '8', 'os_minor': '', 'os_patch': '', 'os_build': '', + 'os_platform': 'almalinux', 'sysname': 'Linux', 'release': '5.3.18-22-default', 'version': 'Wazuh v4.4.0', + 'os_release': '', 'checksum': '1652388661375945607', 'name': 'ALMALINUX8', 'ip': '127.0.0.1', + 'register_ip': 'any', 'internal_key': '', + 'os_uname': 'Linux |localhost|5.3.18-22-default |#1 SMP Wed Jun 3 12:16:43 UTC 2020 (720aeba)|x86_64', + 'os_arch': 'x64', 'config_sum': '', 'merged_sum': '', 'manager_host': 'localhost.localdomain', + 'node_name': 'node01', 'date_add': '1652381429', 'last_keepalive': '253402300799', 'sync_status': 'synced', 'connection_status': 'active'} } diff --git a/deps/wazuh_testing/wazuh_testing/modules/vulnerability_detector/__init__.py b/deps/wazuh_testing/wazuh_testing/modules/vulnerability_detector/__init__.py index 328eccd6a0..ad92b8f19e 100644 --- a/deps/wazuh_testing/wazuh_testing/modules/vulnerability_detector/__init__.py +++ b/deps/wazuh_testing/wazuh_testing/modules/vulnerability_detector/__init__.py @@ -37,6 +37,7 @@ CUSTOM_ALAS2_JSON_FEED = 'custom_alas2_feed.json' CUSTOM_ALAS_2022_JSON_FEED = 'custom_alas_2022_feed.json' CUSTOM_SUSE_OVAL_FEED = 'custom_suse_oval_feed.xml' +CUSTOM_ALMA_OVAL_FEED = 'custom_alsa8_oval_feed.xml' VULNERABILITY_DETECTOR_PREFIX = r'.*wazuh-modulesd:vulnerability-detector.*'