mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Wazuh - Add agent register script to init.sls
This commit is contained in:
@@ -42,7 +42,7 @@ wazuhpkgs:
|
||||
- wazuh-agent
|
||||
|
||||
# Add Wazuh agent conf
|
||||
eslog4jfile:
|
||||
wazuhagentconf:
|
||||
file.managed:
|
||||
- name: /var/ossec/etc/ossec.conf
|
||||
- source: salt://wazuh/files/agent/ossec.conf
|
||||
@@ -50,6 +50,14 @@ eslog4jfile:
|
||||
- group: 945
|
||||
- template: jinja
|
||||
|
||||
# Add Wazuh agent conf
|
||||
wazuhagentregister:
|
||||
file.managed:
|
||||
- name: /usr/sbin/wazuh-agent-register
|
||||
- source: salt://wazuh/files/agent/wazuh-register-agent
|
||||
- user: 0
|
||||
- group: 0
|
||||
|
||||
so-wazuh:
|
||||
docker_container.running:
|
||||
- image: soshybridhunter/so-wazuh:HH1.0.5
|
||||
|
||||
Reference in New Issue
Block a user