Suricata Airgap

This commit is contained in:
Mike Reeves
2023-05-24 15:30:52 -04:00
parent caaedee5a7
commit 11d7e66ea0
2 changed files with 6 additions and 5 deletions

View File

@@ -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}"