mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
fix: Force ossec group on /opt/so/wazuh dir tree to eliminate permission failures
This commit is contained in:
@@ -37,12 +37,6 @@ ossec:
|
||||
- allow_uid_change: True
|
||||
- allow_gid_change: True
|
||||
|
||||
#wazuhdir:
|
||||
# file.directory:
|
||||
# - name: /opt/so/conf/wazuh
|
||||
# - user: 945
|
||||
# - group: 945
|
||||
|
||||
wazuhpkgs:
|
||||
pkg.installed:
|
||||
- skip_suggestions: False
|
||||
@@ -51,6 +45,13 @@ wazuhpkgs:
|
||||
- hold: True
|
||||
- update_holds: True
|
||||
|
||||
wazuhdir:
|
||||
file.directory:
|
||||
- name: /opt/so/wazuh
|
||||
- group: 945
|
||||
- recurse:
|
||||
- group
|
||||
|
||||
# Add Wazuh agent conf
|
||||
wazuhagentconf:
|
||||
file.managed:
|
||||
|
||||
Reference in New Issue
Block a user