mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Remove IFS
This commit is contained in:
@@ -12,7 +12,6 @@ SESSIONCOOKIE=$(curl -s -K /opt/so/conf/elasticsearch/curl.config -c - -X GET ht
|
|||||||
# List agent policies
|
# List agent policies
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
for AGENT_POLICY in $(elastic_fleet_agent_policy_names); do
|
for AGENT_POLICY in $(elastic_fleet_agent_policy_names); do
|
||||||
IFS=$'\n'
|
|
||||||
for INTEGRATION in $(elastic_fleet_integration_policy_names "$AGENT_POLICY"); do
|
for INTEGRATION in $(elastic_fleet_integration_policy_names "$AGENT_POLICY"); do
|
||||||
if ! [[ "$INTEGRATION" == "elastic-defend-endpoints" ]] && ! [[ "$INTEGRATION" == "fleet_server-"* ]]; then
|
if ! [[ "$INTEGRATION" == "elastic-defend-endpoints" ]] && ! [[ "$INTEGRATION" == "fleet_server-"* ]]; then
|
||||||
# Get package name so we know what package to look for when checking the current and latest available version
|
# Get package name so we know what package to look for when checking the current and latest available version
|
||||||
|
|||||||
Reference in New Issue
Block a user