mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
chown /var/ossec dir to match the needful user/group ownership for ossec-agentd
This commit is contained in:
@@ -46,6 +46,15 @@ wazuhpkgs:
|
||||
- hold: True
|
||||
- update_holds: True
|
||||
|
||||
wazuhvarossecdir:
|
||||
file.directory:
|
||||
- name: /var/ossec
|
||||
- user: ossec
|
||||
- group: ossec
|
||||
- recurse:
|
||||
- user
|
||||
- group
|
||||
|
||||
# Add Wazuh agent conf
|
||||
wazuhagentconf:
|
||||
file.managed:
|
||||
|
||||
Reference in New Issue
Block a user