From 3b69ff9fc9ff552470b92b7c82287ac3fed9bbb0 Mon Sep 17 00:00:00 2001 From: reyesj2 <94730068+reyesj2@users.noreply.github.com> Date: Wed, 29 Jan 2025 14:02:45 -0600 Subject: [PATCH] integration policy update --- salt/manager/tools/sbin/soup | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/salt/manager/tools/sbin/soup b/salt/manager/tools/sbin/soup index b6cf38799..89255f839 100755 --- a/salt/manager/tools/sbin/soup +++ b/salt/manager/tools/sbin/soup @@ -534,14 +534,16 @@ 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" - # Sync the newly generated index templates for elasticfleet integrations - salt-call state.apply elasticsearch queue=True - POSTVERSION=2.4.120 } post_to_2.4.130() { - echo "Nothing to apply" + # Integrations policies need to be updated + rm -f /opt/so/state/eaintegrations.txt + + # Sync the newly generated index templates for elasticfleet integrations + salt-call state.apply elasticsearch queue=True + POSTVERSION=2.4.130 } @@ -725,7 +727,7 @@ up_to_2.4.90() { up_to_2.4.100() { echo "Nothing to do for 2.4.100" - + INSTALLEDVERSION=2.4.100 }