mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
9 lines
208 B
Bash
9 lines
208 B
Bash
#!/usr/bin/env bash
|
|
|
|
# This script adds ip addresses to specific rule sets defined by the user
|
|
|
|
POLICY=$1
|
|
IPADDRESS=$2
|
|
|
|
echo " - $2" >> /opt/so/saltstack/pillar/firewall/$1.sls
|
|
salt-call state.apply firewall |