mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-29 16:07:53 +02:00
Move Wazuh from /opt/so/ to /nsm/wazuh
This commit is contained in:
@@ -20,7 +20,7 @@ local_salt_dir=/opt/so/saltstack/local
|
||||
|
||||
# Check if Wazuh enabled
|
||||
if [ {{ WAZUH_ENABLED }} ]; then
|
||||
WAZUH_MGR_CFG="/opt/so/wazuh/etc/ossec.conf"
|
||||
WAZUH_MGR_CFG="/nsm/wazuh/etc/ossec.conf"
|
||||
if ! grep -q "<white_list>{{ MANAGERIP }}</white_list>" $WAZUH_MGR_CFG ; then
|
||||
DATE=`date`
|
||||
sed -i 's/<\/ossec_config>//' $WAZUH_MGR_CFG
|
||||
|
||||
Reference in New Issue
Block a user