integration policy update

This commit is contained in:
reyesj2
2025-01-29 14:02:45 -06:00
parent 8828a3049d
commit 3b69ff9fc9

View File

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