mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix the features suffix
This commit is contained in:
@@ -49,13 +49,17 @@ container_list() {
|
|||||||
"so-curator"
|
"so-curator"
|
||||||
"so-domainstats"
|
"so-domainstats"
|
||||||
"so-elastalert"
|
"so-elastalert"
|
||||||
|
"so-elasticsearch"
|
||||||
|
"so-filebeat"
|
||||||
"so-fleet"
|
"so-fleet"
|
||||||
"so-fleet-launcher"
|
"so-fleet-launcher"
|
||||||
"so-freqserver"
|
"so-freqserver"
|
||||||
"so-grafana"
|
"so-grafana"
|
||||||
"so-idstools"
|
"so-idstools"
|
||||||
"so-influxdb"
|
"so-influxdb"
|
||||||
|
"so-kibana"
|
||||||
"so-kratos"
|
"so-kratos"
|
||||||
|
"so-logstash"
|
||||||
"so-minio"
|
"so-minio"
|
||||||
"so-mysql"
|
"so-mysql"
|
||||||
"so-nginx"
|
"so-nginx"
|
||||||
@@ -77,21 +81,6 @@ container_list() {
|
|||||||
"so-wazuh"
|
"so-wazuh"
|
||||||
"so-zeek"
|
"so-zeek"
|
||||||
)
|
)
|
||||||
if [[ "$FEATURESCHECK" == "True" ]]; then
|
|
||||||
TRUSTED_CONTAINERS=( "${TRUSTED_CONTAINERS[@]}"
|
|
||||||
"so-elasticsearch-features"
|
|
||||||
"so-filebeat-features"
|
|
||||||
"so-logstash-features"
|
|
||||||
"so-kibana-features"
|
|
||||||
)
|
|
||||||
else
|
|
||||||
TRUSTED_CONTAINERS=( "${TRUSTED_CONTAINERS[@]}"
|
|
||||||
"so-elasticsearch"
|
|
||||||
"so-filebeat"
|
|
||||||
"so-logstash"
|
|
||||||
"so-kibana"
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
TRUSTED_CONTAINERS=(
|
TRUSTED_CONTAINERS=(
|
||||||
"so-filebeat"
|
"so-filebeat"
|
||||||
|
|||||||
@@ -467,6 +467,12 @@ else
|
|||||||
rm -rf $UPDATE_DIR
|
rm -rf $UPDATE_DIR
|
||||||
clone_to_tmp
|
clone_to_tmp
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Verifying we have the latest soup script."
|
||||||
|
verify_latest_update_script
|
||||||
|
echo ""
|
||||||
|
|
||||||
echo "Generating new repo archive"
|
echo "Generating new repo archive"
|
||||||
generate_and_clean_tarballs
|
generate_and_clean_tarballs
|
||||||
if [ -f /usr/sbin/so-image-common ]; then
|
if [ -f /usr/sbin/so-image-common ]; then
|
||||||
@@ -475,11 +481,6 @@ else
|
|||||||
add_common
|
add_common
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "Verifying we have the latest soup script."
|
|
||||||
verify_latest_update_script
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
echo "Let's see if we need to update Security Onion."
|
echo "Let's see if we need to update Security Onion."
|
||||||
upgrade_check
|
upgrade_check
|
||||||
space_check
|
space_check
|
||||||
@@ -496,6 +497,15 @@ if [ $is_airgap -eq 0 ]; then
|
|||||||
else
|
else
|
||||||
update_registry
|
update_registry
|
||||||
update_docker_containers "soup"
|
update_docker_containers "soup"
|
||||||
|
FEATURESCHECK=$(lookup_pillar features elastic)
|
||||||
|
if [[ "$FEATURESCHECK" == "True" ]]; then
|
||||||
|
TRUSTED_CONTAINERS=( \
|
||||||
|
"so-elasticsearch" \
|
||||||
|
"so-filebeat" \
|
||||||
|
"so-kibana" \
|
||||||
|
"so-logstash" )
|
||||||
|
update_docker_containers "features" "-features"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
echo "Stopping Salt Minion service."
|
echo "Stopping Salt Minion service."
|
||||||
|
|||||||
Reference in New Issue
Block a user