Merge pull request #14277 from Security-Onion-Solutions/reyesj2-patch-40

move removal of eaintegrations.txt to up_to_2.4.130
This commit is contained in:
Jorge Reyes
2025-02-21 14:07:31 -06:00
committed by GitHub

View File

@@ -540,11 +540,6 @@ post_to_2.4.120() {
}
post_to_2.4.130() {
# Integrations policies need to be updated, along with ingest pipelines & index templates.
rm -f /opt/so/state/eaintegrations.txt /opt/so/state/espipelines.txt /opt/so/state/estemplates.txt
# Sync the newly generated index templates for elasticfleet integrations
salt-call state.apply elasticsearch queue=True
# Update kibana default space
salt-call state.apply kibana.config queue=True
@@ -765,6 +760,9 @@ up_to_2.4.130() {
# 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
INSTALLEDVERSION=2.4.130
}