diff --git a/CHANGELOG.md b/CHANGELOG.md index db8155852f..914480d888 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to the Wazuh app project will be documented in this file. +## Wazuh v4.3.7 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 4308 + +### Fixed + +- Fixed path in logo customization section [#4352](https://github.com/wazuh/wazuh-kibana-app/pull/4352) + ## Wazuh v4.3.6 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 4307 ### Fixed diff --git a/common/constants.ts b/common/constants.ts index a0cc16c48d..b50e585e94 100644 --- a/common/constants.ts +++ b/common/constants.ts @@ -349,6 +349,7 @@ export const UI_TOAST_COLOR = { // Assets export const ASSETS_BASE_URL_PREFIX = '/plugins/wazuh/assets/'; +export const ASSETS_PUBLIC_URL = '/plugins/wazuh/public/assets/'; // Reports export const REPORTS_LOGO_IMAGE_ASSETS_RELATIVE_PATH = 'images/logo_reports.png'; diff --git a/public/utils/config-equivalences.js b/public/utils/config-equivalences.js index 7bd6f13c08..34d066ae2d 100644 --- a/public/utils/config-equivalences.js +++ b/public/utils/config-equivalences.js @@ -1,11 +1,11 @@ -import { ASSETS_BASE_URL_PREFIX, PLUGIN_PLATFORM_NAME } from "../../common/constants"; +import { ASSETS_PUBLIC_URL, PLUGIN_PLATFORM_NAME } from "../../common/constants"; export const configEquivalences = { pattern: 'Default index pattern to use on the app.', - 'customization.logo.app':`Define the name of the app logo saved in the path ${ASSETS_BASE_URL_PREFIX}`, - 'customization.logo.sidebar':`Define the name of the sidebar logo saved in the path ${ASSETS_BASE_URL_PREFIX}`, - 'customization.logo.healthcheck':`Define the name of the health-check logo saved in the path ${ASSETS_BASE_URL_PREFIX}`, - 'customization.logo.reports':`Define the name of the reports logo (.png) saved in the path ${ASSETS_BASE_URL_PREFIX}`, + 'customization.logo.app':`Define the name of the app logo saved in the path ${ASSETS_PUBLIC_URL}`, + 'customization.logo.sidebar':`Define the name of the sidebar logo saved in the path ${ASSETS_PUBLIC_URL}`, + 'customization.logo.healthcheck':`Define the name of the health-check logo saved in the path ${ASSETS_PUBLIC_URL}`, + 'customization.logo.reports':`Define the name of the reports logo (.png) saved in the path ${ASSETS_PUBLIC_URL}`, 'checks.pattern': 'Enable or disable the index pattern health check when opening the app.', 'checks.template': diff --git a/server/lib/initial-wazuh-config.ts b/server/lib/initial-wazuh-config.ts index 28d381b74c..15d482ef2f 100644 --- a/server/lib/initial-wazuh-config.ts +++ b/server/lib/initial-wazuh-config.ts @@ -10,7 +10,7 @@ * Find more information about this on the LICENSE file. */ -import { ASSETS_BASE_URL_PREFIX, WAZUH_MONITORING_DEFAULT_INDICES_REPLICAS, WAZUH_MONITORING_DEFAULT_INDICES_SHARDS, WAZUH_STATISTICS_DEFAULT_INDICES_REPLICAS, WAZUH_STATISTICS_DEFAULT_INDICES_SHARDS } from "../../common/constants"; +import { ASSETS_PUBLIC_URL, WAZUH_MONITORING_DEFAULT_INDICES_REPLICAS, WAZUH_MONITORING_DEFAULT_INDICES_SHARDS, WAZUH_STATISTICS_DEFAULT_INDICES_REPLICAS, WAZUH_STATISTICS_DEFAULT_INDICES_SHARDS } from "../../common/constants"; import { webDocumentationLink } from "../../common/services/web_documentation"; export const initialWazuhConfig: string = `--- @@ -170,16 +170,16 @@ export const initialWazuhConfig: string = `--- # # ------------------------------ wazuh-logo-customization ------------------------------- # -#Define the name of the app logo saved in the path ${ASSETS_BASE_URL_PREFIX} +#Define the name of the app logo saved in the path ${ASSETS_PUBLIC_URL} #customization.logo.app: '' # -#Define the name of the sidebar logo saved in the path ${ASSETS_BASE_URL_PREFIX} +#Define the name of the sidebar logo saved in the path ${ASSETS_PUBLIC_URL} #customization.logo.sidebar: '' # -#Define the name of the health-check logo saved in the path ${ASSETS_BASE_URL_PREFIX} +#Define the name of the health-check logo saved in the path ${ASSETS_PUBLIC_URL} #customization.logo.healthcheck: '' # -#Define the name of the reports logo (.png) saved in the path ${ASSETS_BASE_URL_PREFIX} +#Define the name of the reports logo (.png) saved in the path ${ASSETS_PUBLIC_URL} #customization.logo.reports: '' # # ---------------------------- Hide manager alerts ------------------------------