mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-12 20:22:59 +01:00
Suricata Airgap
This commit is contained in:
@@ -46,8 +46,9 @@ so-idstools:
|
|||||||
- {{ BIND }}
|
- {{ BIND }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if DOCKER.containers['so-idstools'].extra_hosts %}
|
|
||||||
- extra_hosts:
|
- extra_hosts:
|
||||||
|
- {{ GLOBALS.manager }}:{{ GLOBALS.manager_ip }}
|
||||||
|
{% if DOCKER.containers['so-idstools'].extra_hosts %}
|
||||||
{% for XTRAHOST in DOCKER.containers['so-idstools'].extra_hosts %}
|
{% for XTRAHOST in DOCKER.containers['so-idstools'].extra_hosts %}
|
||||||
- {{ XTRAHOST }}
|
- {{ XTRAHOST }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ docker exec so-idstools idstools-rulecat -v --suricata-version 6.0 -o /nsm/rules
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
|
||||||
#argstr=""
|
argstr=""
|
||||||
#for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
# argstr="${argstr} \"${arg}\""
|
argstr="${argstr} \"${arg}\""
|
||||||
#done
|
done
|
||||||
|
|
||||||
docker exec so-idstools /bin/bash -c "cd /opt/so/idstools/etc && idstools-rulecat --force ${argstr}"
|
docker exec so-idstools /bin/bash -c "cd /opt/so/idstools/etc && idstools-rulecat --force ${argstr}"
|
||||||
|
|||||||
Reference in New Issue
Block a user