#!/bin/bash # Wazuh Docker Copyright (C) 2021 Wazuh Inc. (License GPLv2) if [[ $CHANGE_WELCOME == "true" ]] then echo "Set Wazuh app as the default landing page" echo "server.defaultRoute: /app/wazuh?security_tenant=global" >> /usr/share/kibana/config/kibana.yml echo "Set custom welcome styles" cp -f /tmp/custom_welcome/template.js.hbs /usr/share/kibana/src/legacy/ui/ui_render/bootstrap/template.js.hbs cp -f /tmp/custom_welcome/light_theme.style.css /usr/share/kibana/src/core/server/core_app/assets/legacy_light_theme.css cp -f /tmp/custom_welcome/*svg /usr/share/kibana/src/core/server/core_app/assets/ fi