mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
New so-allow
This commit is contained in:
@@ -83,7 +83,8 @@ if [ "$SKIP" -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Adding $IP to the $FULLROLE role. This can take a few seconds"
|
echo "Adding $IP to the $FULLROLE role. This can take a few seconds"
|
||||||
$default_salt_dir/pillar/firewall/addfirewall.sh $FULLROLE $IP
|
/usr/sbin/so-firewall includehost $FULLROLE $IP
|
||||||
|
salt-call state.apply firewall queue=True
|
||||||
|
|
||||||
# Check if Wazuh enabled
|
# Check if Wazuh enabled
|
||||||
if grep -q -R "wazuh: 1" $local_salt_dir/pillar/*; then
|
if grep -q -R "wazuh: 1" $local_salt_dir/pillar/*; then
|
||||||
|
|||||||
Reference in New Issue
Block a user