From 6d0350793db4fe29d879036f122da6453147b0aa Mon Sep 17 00:00:00 2001 From: Josh Brower Date: Sun, 23 Feb 2025 14:02:17 -0500 Subject: [PATCH] Remove old defend json --- salt/manager/tools/sbin/soup | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/salt/manager/tools/sbin/soup b/salt/manager/tools/sbin/soup index 5da116e05..27123c660 100755 --- a/salt/manager/tools/sbin/soup +++ b/salt/manager/tools/sbin/soup @@ -533,9 +533,6 @@ post_to_2.4.120() { # Manually rollover suricata alerts index to ensure data_stream.dataset expected mapping is set to 'suricata' rollover_index "logs-suricata.alerts-so" - echo "Regenerating Elastic Agent Installers" - /sbin/so-elastic-agent-gen-installers - POSTVERSION=2.4.120 } @@ -546,6 +543,9 @@ post_to_2.4.130() { echo "Updating Kibana default space" /usr/sbin/so-kibana-space-defaults + echo "Regenerating Elastic Agent Installers" + /sbin/so-elastic-agent-gen-installers + POSTVERSION=2.4.130 } @@ -757,12 +757,12 @@ up_to_2.4.120() { } up_to_2.4.130() { + # Remove any old Elastic Defend config files + rm -f /opt/so/conf/elastic-fleet/integrations/endpoints-initial/elastic-defend-endpoints.json + # Elastic Update for this release, so download Elastic Agent files determine_elastic_agent_upgrade - # Integrations policies need to be updated - rm -f /opt/so/state/eaintegrations.txt - # Ensure override exists to allow nmcli access to other devices touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf