mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Add to pre for .30 soup
This commit is contained in:
@@ -529,6 +529,22 @@ up_to_2.4.20() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
up_to_2.4.30() {
|
up_to_2.4.30() {
|
||||||
|
rm -f /opt/so/conf/elastic-fleet/integrations/endpoints-initial/elastic-defend-endpoints.json
|
||||||
|
. /usr/sbin/so-elastic-fleet-common
|
||||||
|
|
||||||
|
echo "Checking to make sure that Kibana API is up & ready..."
|
||||||
|
RETURN_CODE=0
|
||||||
|
wait_for_web_response "http://localhost:5601/api/fleet/settings" "fleet" 300 "curl -K /opt/so/conf/elasticsearch/curl.config"
|
||||||
|
RETURN_CODE=$?
|
||||||
|
if [[ "$RETURN_CODE" != "0" ]]; then
|
||||||
|
echo "Kibana API not accessible, exiting script..."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
elastic_fleet_integration_remove endpoints-initial elastic-defend-endpoints
|
||||||
|
/usr/sbin/so-elastic-fleet-integration-policy-elastic-defend
|
||||||
|
salt-call state.highstate
|
||||||
|
|
||||||
determine_elastic_agent_upgrade
|
determine_elastic_agent_upgrade
|
||||||
rm -f /opt/so/state/estemplates*.txt
|
rm -f /opt/so/state/estemplates*.txt
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user