diff --git a/setup/so-functions b/setup/so-functions index 73ef1f50f..cebd1d86c 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -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 }