This commit is contained in:
weslambert
2024-09-12 17:59:39 -04:00
committed by GitHub
parent 2ec3f52ea6
commit 2e85dcc36a

View File

@@ -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