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