mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-27 09:25:37 +01:00
Cleanup idstools
This commit is contained in:
@@ -1004,6 +1004,8 @@ up_to_2.4.210() {
|
||||
# This state is used to deal with the breaking change introduced in 3006.17 - https://docs.saltproject.io/en/3006/topics/releases/3006.17.html
|
||||
# This is the only way the state is called so we can use concurrent=True
|
||||
salt-call state.apply salt.master.add_minimum_auth_version --file-root=$UPDATE_DIR/salt --local concurrent=True
|
||||
# Remove so-rule-update script left behind by the idstools removal in 2.4.200
|
||||
rm -f /usr/sbin/so-rule-update
|
||||
INSTALLEDVERSION=2.4.210
|
||||
}
|
||||
|
||||
|
||||
@@ -799,14 +799,6 @@ if ! [[ -f $install_opt_file ]]; then
|
||||
logCmd "salt-call state.apply influxdb -l info"
|
||||
logCmd "salt-call state.highstate -l info"
|
||||
logCmd "salt-call schedule.disable -linfo --local"
|
||||
if [[ ! $is_airgap ]]; then
|
||||
title "Downloading IDS Rules"
|
||||
logCmd "so-rule-update"
|
||||
if [[ $monints || $is_import ]]; then
|
||||
title "Applying the Suricata state to load the new rules"
|
||||
logCmd "salt-call state.apply suricata -l info"
|
||||
fi
|
||||
fi
|
||||
if [[ $is_airgap ]]; then
|
||||
title "Syncing AI-Generated Detection Summaries"
|
||||
airgap_detection_summaries
|
||||
|
||||
Reference in New Issue
Block a user