mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Set IFS
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
SESSIONCOOKIE=$(curl -s -K /opt/so/conf/elasticsearch/curl.config -c - -X GET http://localhost:5601/ | grep sid | awk '{print $7}')
|
SESSIONCOOKIE=$(curl -s -K /opt/so/conf/elasticsearch/curl.config -c - -X GET http://localhost:5601/ | grep sid | awk '{print $7}')
|
||||||
|
|
||||||
# List agent policies
|
# List agent policies
|
||||||
|
IFS=$'\n'
|
||||||
for AGENT_POLICY in $(elastic_fleet_agent_policy_names); do
|
for AGENT_POLICY in $(elastic_fleet_agent_policy_names); do
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
for INTEGRATION in $(elastic_fleet_integration_policy_names "$AGENT_POLICY"); do
|
for INTEGRATION in $(elastic_fleet_integration_policy_names "$AGENT_POLICY"); do
|
||||||
|
|||||||
Reference in New Issue
Block a user