mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Update soup
This commit is contained in:
@@ -153,8 +153,9 @@ pillar_changes() {
|
|||||||
while read p; do
|
while read p; do
|
||||||
local NAME=$(echo $p | awk '{print $1}')
|
local NAME=$(echo $p | awk '{print $1}')
|
||||||
local EHOSTNAME=$(echo $p | awk -F"_" '{print $1}')
|
local EHOSTNAME=$(echo $p | awk -F"_" '{print $1}')
|
||||||
|
local IP=$(echo $p | awk '{print $2}')
|
||||||
echo "Adding the new cross cluster config for $NAME"
|
echo "Adding the new cross cluster config for $NAME"
|
||||||
curl -XPUT http://localhost:9200/_cluster/settings -H'Content-Type: application/json' -d '{"persistent": {"search": {"remote": {"'$NAME'": {"skip_unavailable": "true", "seeds": ["'$EHOSTNAME':9300"]}}}}}'
|
curl -XPUT http://localhost:9200/_cluster/settings -H'Content-Type: application/json' -d '{"persistent": {"search": {"remote": {"'$NAME'/'$IP'": {"skip_unavailable": "true", "seeds": ["'$EHOSTNAME':9300"]}}}}}'
|
||||||
done </tmp/nodes.txt
|
done </tmp/nodes.txt
|
||||||
|
|
||||||
|
|
||||||
@@ -164,19 +165,19 @@ pillar_changes() {
|
|||||||
update_dockers() {
|
update_dockers() {
|
||||||
# List all the containers
|
# List all the containers
|
||||||
if [ $MANAGERCHECK == 'so-import' ]; then
|
if [ $MANAGERCHECK == 'so-import' ]; then
|
||||||
TRUSTED_CONTAINERS=( \
|
TRUSTED_CONTAINERS=( \
|
||||||
"so-idstools" \
|
"so-idstools" \
|
||||||
"so-nginx" \
|
"so-nginx" \
|
||||||
"so-filebeat" \
|
"so-filebeat" \
|
||||||
"so-suricata" \
|
"so-suricata" \
|
||||||
"so-soc" \
|
"so-soc" \
|
||||||
"so-elasticsearch" \
|
"so-elasticsearch" \
|
||||||
"so-kibana" \
|
"so-kibana" \
|
||||||
"so-kratos" \
|
"so-kratos" \
|
||||||
"so-suricata" \
|
"so-suricata" \
|
||||||
"so-registry" \
|
"so-registry" \
|
||||||
"so-pcaptools" \
|
"so-pcaptools" \
|
||||||
"so-zeek" )
|
"so-zeek" )
|
||||||
elif [ $MANAGERCHECK != 'so-helix' ]; then
|
elif [ $MANAGERCHECK != 'so-helix' ]; then
|
||||||
TRUSTED_CONTAINERS=( \
|
TRUSTED_CONTAINERS=( \
|
||||||
"so-acng" \
|
"so-acng" \
|
||||||
|
|||||||
Reference in New Issue
Block a user