Skip to content

Commit 015da94

Browse files
committed
Updated kibana.yml template on odfe version
1 parent 8a21b2f commit 015da94

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

kibana-odfe/config/kibana_settings.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ WAZUH_MAJOR=4
1818
# Customize elasticsearch ip
1919
##############################################################################
2020
sed -i "s|elasticsearch.hosts:.*|elasticsearch.hosts: $el_url|g" /usr/share/kibana/config/kibana.yml
21-
# disable multitenancy
22-
sed -i "s|opendistro_security.multitenancy.enabled:.*|opendistro_security.multitenancy.enabled: false|g" /usr/share/kibana/config/kibana.yml
2321

2422
# If KIBANA_INDEX was set, then change the default index in kibana.yml configuration file. If there was an index, then delete it and recreate.
2523
if [ "$KIBANA_INDEX" != "" ]; then

kibana-odfe/config/welcome_wazuh.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if [[ $CHANGE_WELCOME == "true" ]]
55
then
66
echo "Set Wazuh app as the default landing page"
7-
echo "server.defaultRoute: /app/wazuh" >> /usr/share/kibana/config/kibana.yml
7+
echo "server.defaultRoute: /app/wazuh?security_tenant=global" >> /usr/share/kibana/config/kibana.yml
88

99
echo "Set custom welcome styles"
1010
cp -f /tmp/custom_welcome/template.js.hbs /usr/share/kibana/src/legacy/ui/ui_render/bootstrap/template.js.hbs

0 commit comments

Comments
 (0)