From dbe0ca3aad2618447fe9bda5e4980c7227aef373 Mon Sep 17 00:00:00 2001 From: Grzegorz Koper Date: Wed, 8 Jan 2025 14:08:04 +0100 Subject: [PATCH] Remove proxy configuration from Wazuh manager playbook The proxy configuration block in ossec.conf is being removed as it was incorrectly placed. The proxy settings in ossec-init.conf do not affect the vulnerability detector functionality. --- etc/kayobe/ansible/wazuh-manager.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/etc/kayobe/ansible/wazuh-manager.yml b/etc/kayobe/ansible/wazuh-manager.yml index d4013ebd6..d7d295d15 100644 --- a/etc/kayobe/ansible/wazuh-manager.yml +++ b/etc/kayobe/ansible/wazuh-manager.yml @@ -102,20 +102,6 @@ notify: - Restart wazuh - - name: Set http/s_proxy vars in ossec-init.conf for vulnerability detector - blockinfile: - path: "/var/ossec/etc/ossec.conf" - state: present - owner: root - group: ossec - block: | - HTTPS_PROXY={{ http_proxy_url }} - HTTP_PROXY={{ http_proxy_url }} - backup: yes - when: http_proxy_url is defined - notify: - - Restart wazuh - - name: Perform health check against filebeat command: filebeat test output changed_when: false