mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix location for files
This commit is contained in:
@@ -708,7 +708,7 @@ fireeye_pillar() {
|
||||
# Generate Firewall Templates
|
||||
firewall_generate_templates() {
|
||||
|
||||
local firewall_pillar_path=/opt/so/saltstack/salt/firewall
|
||||
local firewall_pillar_path=/opt/so/saltstack/salt/firewall/
|
||||
mkdir -p "$firewall_pillar_path"
|
||||
|
||||
for i in analyst beats_endpoint forward_nodes masterfw minions osquery_endpoints search_nodes wazuh_endpoint
|
||||
@@ -716,7 +716,8 @@ firewall_generate_templates() {
|
||||
printf '%s\n'\
|
||||
"$i:"\
|
||||
" - 127.0.0.1"\
|
||||
"" > "$firewall_pillar_path"/$i.sls
|
||||
"" > "$firewall_pillar_path"$i.sls
|
||||
echo "Added $i Template"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user