mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
Wazuh - Changes to init.sls
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
vm.max_map_count:
|
{%- set HOSTNAME = salt['grains.get']('host', '') %}
|
||||||
sysctl.present:
|
|
||||||
- value: 262144
|
#vm.max_map_count:
|
||||||
|
# sysctl.present:
|
||||||
|
# - value: 262144
|
||||||
|
|
||||||
# Add ossec Group
|
# Add ossec Group
|
||||||
ossecgroup:
|
ossecgroup:
|
||||||
@@ -42,12 +44,12 @@ wazuhpkgs:
|
|||||||
so-wazuh:
|
so-wazuh:
|
||||||
docker_container.running:
|
docker_container.running:
|
||||||
- image: soshybridhunter/so-wazuh:HH1.0.5
|
- image: soshybridhunter/so-wazuh:HH1.0.5
|
||||||
- hostname: {{ hostname}}-docker
|
- hostname: {{HOSTNAME}}-wazuh-manager
|
||||||
- name: so-wazuh
|
- name: so-wazuh
|
||||||
- user: ossec
|
- detach: True
|
||||||
- port_bindings:
|
- port_bindings:
|
||||||
- 0.0.0.0:1514:1514
|
- 0.0.0.0:1514:1514
|
||||||
- 0.0.0.0:55000:55000
|
- 0.0.0.0:55000:55000
|
||||||
- binds:
|
- binds:
|
||||||
- /opt/so/wazuh/:/var/ossec/data:rw
|
- /opt/so/wazuh/:/var/ossec/data/:rw
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user