From 72b0f672d63380ef58605772602ac783258cc202 Mon Sep 17 00:00:00 2001
From: Perry Kollmorgen
Date: Mon, 21 Jan 2019 09:10:45 +1000
Subject: [PATCH 1/2] Fix warning from cluster interval option in defaults #145
The interval option in the cluster section in the defaults has been
depreciated and no longer requires to be set.
https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/cluster.html#interval
---
roles/wazuh/ansible-wazuh-manager/defaults/main.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/roles/wazuh/ansible-wazuh-manager/defaults/main.yml b/roles/wazuh/ansible-wazuh-manager/defaults/main.yml
index b9817a3a..d7af37ea 100644
--- a/roles/wazuh/ansible-wazuh-manager/defaults/main.yml
+++ b/roles/wazuh/ansible-wazuh-manager/defaults/main.yml
@@ -29,7 +29,6 @@ wazuh_manager_config:
node_name: 'manager_01'
node_type: 'master'
key: 'ugdtAnd7Pi9myP7CVts4qZaZQEQcRYZa'
- interval: '2m'
port: '1516'
bind_addr: '0.0.0.0'
nodes:
From 1b51b2dc11112e4b082eaf34020f99c4376dcd3f Mon Sep 17 00:00:00 2001
From: Perry Kollmorgen
Date: Mon, 21 Jan 2019 09:12:35 +1000
Subject: [PATCH 2/2] Fix warning from vul_detector config for Redhat Feed Name
#145
The value for the Redhat Feed Name in the ossec.conf template no longer
requires a version. i.e the value should be "redhat" rather "redhat-7"
or similar.
https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/wodle-vuln-detector.html#feed
https://github.com/wazuh/wazuh/pull/2137
---
.../templates/var-ossec-etc-ossec-server.conf.j2 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-ossec-server.conf.j2 b/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-ossec-server.conf.j2
index 71201e92..f3c43dcc 100644
--- a/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-ossec-server.conf.j2
+++ b/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-ossec-server.conf.j2
@@ -235,7 +235,7 @@
{{ wazuh_manager_config.vul_detector.ubuntu.disable }}
{{ wazuh_manager_config.vul_detector.ubuntu.update_interval }}
-
+
{{ wazuh_manager_config.vul_detector.redhat.disable }}
{{ wazuh_manager_config.vul_detector.redhat.update_interval }}