Files
securityonion/salt/idstools/tools/sbin/so-rule-update
2023-05-02 09:40:02 -04:00

11 lines
207 B
Bash
Executable File

#!/bin/bash
. /usr/sbin/so-common
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}"