From 7d3ee92620a675f372acd1a56e57c25763af8135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Anguita=20L=C3=B3pez?= Date: Mon, 9 Sep 2024 17:57:51 +0200 Subject: [PATCH 1/4] added logic to install latest revision --- manifests/indexer.pp | 14 ++++++++++++-- manifests/manager.pp | 12 +++++++++++- manifests/params_manager.pp | 2 +- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/manifests/indexer.pp b/manifests/indexer.pp index 3ddc11bd..068488d0 100644 --- a/manifests/indexer.pp +++ b/manifests/indexer.pp @@ -8,7 +8,7 @@ $indexer_node_max_local_storage_nodes = '1', $indexer_service = 'wazuh-indexer', $indexer_package = 'wazuh-indexer', - $indexer_version = '4.9.1-1', + $indexer_version = '4.9.1', $indexer_fileuser = 'wazuh-indexer', $indexer_filegroup = 'wazuh-indexer', @@ -28,9 +28,19 @@ $jvm_options_memory = '1g', ) { + # assign version according to the package manager + case $facts['os']['family'] { + 'Debian': { + $indexer_version_install = "${indexer_version}-*" + } + 'Linux', 'RedHat', default: { + $indexer_version_install = $indexer_version + } + } + # install package package { 'wazuh-indexer': - ensure => $indexer_version, + ensure => $indexer_version_install, name => $indexer_package, } diff --git a/manifests/manager.pp b/manifests/manager.pp index d8910941..702d0639 100644 --- a/manifests/manager.pp +++ b/manifests/manager.pp @@ -362,10 +362,20 @@ fail('The ossec module does not yet support installing the OSSEC HIDS server on Windows') } + # assign version according to the package manager + case $facts['os']['family'] { + 'Debian': { + $server_version_install = "${server_package_version}-*" + } + 'Linux', 'RedHat', default: { + $server_version_install = $server_package_version + } + } + # Install and configure Wazuh-manager package package { $wazuh::params_manager::server_package: - ensure => $server_package_version, # lint:ignore:security_package_pinned_version + ensure => $server_version_install, # lint:ignore:security_package_pinned_version } file { diff --git a/manifests/params_manager.pp b/manifests/params_manager.pp index 5b1a8199..362796ca 100644 --- a/manifests/params_manager.pp +++ b/manifests/params_manager.pp @@ -5,7 +5,7 @@ 'Linux': { # Installation - $server_package_version = '4.9.1-1' + $server_package_version = '4.9.1' $manage_firewall = false From f34ad8a7f3d5a7c430c5e90804d76492c2f5de8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Correa=20Rodr=C3=ADguez?= Date: Fri, 13 Sep 2024 13:25:06 +0200 Subject: [PATCH 2/4] Updated SECURITY.md file --- SECURITY.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 54e59de1..86f56db8 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -16,11 +16,15 @@ Please submit your findings as security advisories under the "Security" tab in t ## Vulnerability Disclosure Policy Upon receiving a report of a potential vulnerability, our team will initiate an investigation. If the reported issue is confirmed as a vulnerability, we will take the following steps: -- Acknowledgment: We will acknowledge the receipt of your vulnerability report and begin our investigation. -- Validation: We will validate the issue and work on reproducing it in our environment. -- Remediation: We will work on a fix and thoroughly test it -- Release & Disclosure: After 90 days from the discovery of the vulnerability, or as soon as a fix is ready and thoroughly tested (whichever comes first), we will release a security update for the affected project. We will also publicly disclose the vulnerability by publishing a CVE (Common Vulnerabilities and Exposures) and acknowledging the discovering party. -- Exceptions: In order to preserve the security of the Wazuh community at large, we might extend the disclosure period to allow users to patch their deployments. +1. Acknowledgment: We will acknowledge the receipt of your vulnerability report and begin our investigation. + +2. Validation: We will validate the issue and work on reproducing it in our environment. + +3. Remediation: We will work on a fix and thoroughly test it. + +4. Release & Disclosure: After 90 days from the discovery of the vulnerability, or as soon as a fix is ready and thoroughly tested (whichever comes first), we will release a security update for the affected project. We will also publicly disclose the vulnerability by publishing a CVE (Common Vulnerabilities and Exposures) and acknowledging the discovering party. + +5. Exceptions: In order to preserve the security of the Wazuh community at large, we might extend the disclosure period to allow users to patch their deployments. This 90-day period allows for end-users to update their systems and minimizes the risk of widespread exploitation of the vulnerability. @@ -33,7 +37,7 @@ We believe in giving credit where credit is due. If you report a security vulner We do appreciate and encourage feedback from our community, but currently we do not have a bounty program. We might start bounty programs in the future. ## Compliance with this Policy -We consider the discovery and reporting of security vulnerabilities an important public service. We encourage responsible reporting of any vulnerabilities that may be found in our site or applications. +We consider the discovery and reporting of security vulnerabilities an important public service. We encourage responsible reporting of any vulnerabilities that may be found in our site or applications. Furthermore, we will not take legal action against or suspend or terminate access to the site or services of those who discover and report security vulnerabilities in accordance with this policy because of the fact. From 609131541be865dbd6f172305e06830c1a0d94df Mon Sep 17 00:00:00 2001 From: c-bordon Date: Mon, 16 Sep 2024 14:59:51 -0300 Subject: [PATCH 3/4] Changed SECURITY.md file --- SECURITY.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 86f56db8..4d35ef4f 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -17,13 +17,9 @@ Please submit your findings as security advisories under the "Security" tab in t Upon receiving a report of a potential vulnerability, our team will initiate an investigation. If the reported issue is confirmed as a vulnerability, we will take the following steps: 1. Acknowledgment: We will acknowledge the receipt of your vulnerability report and begin our investigation. - 2. Validation: We will validate the issue and work on reproducing it in our environment. - -3. Remediation: We will work on a fix and thoroughly test it. - +3. Remediation: We will work on a fix and thoroughly test it 4. Release & Disclosure: After 90 days from the discovery of the vulnerability, or as soon as a fix is ready and thoroughly tested (whichever comes first), we will release a security update for the affected project. We will also publicly disclose the vulnerability by publishing a CVE (Common Vulnerabilities and Exposures) and acknowledging the discovering party. - 5. Exceptions: In order to preserve the security of the Wazuh community at large, we might extend the disclosure period to allow users to patch their deployments. This 90-day period allows for end-users to update their systems and minimizes the risk of widespread exploitation of the vulnerability. @@ -46,4 +42,4 @@ We ask that all users and contributors respect this policy and the security of o ## Changes to this Security Policy This policy may be revised from time to time. Each version of the policy will be identified at the top of the page by its effective date. -If you have any questions about this Security Policy, please contact us at [security@wazuh.com](mailto:security@wazuh.com). +If you have any questions about this Security Policy, please contact us at [security@wazuh.com](mailto:security@wazuh.com) From 9bb238c10ef11c62996b6432dfbdcd3d9059277f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Anguita=20L=C3=B3pez?= Date: Fri, 20 Sep 2024 12:33:44 +0200 Subject: [PATCH 4/4] bump revision to 40911 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 9261ca31..1f28fd6c 100644 --- a/VERSION +++ b/VERSION @@ -1,3 +1,3 @@ WAZUH-PUPPET_VERSION="v4.9.1" -REVISION="40910" +REVISION="40911" VERSION=4.9.1