From 2fbb9e787a4b6d516a27c833b6d3cd9b1b5b28a8 Mon Sep 17 00:00:00 2001 From: Tostti Date: Tue, 30 Jan 2024 09:16:42 -0300 Subject: [PATCH] Make wazuh version dynamic --- src/core/public/chrome/constants.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/public/chrome/constants.ts b/src/core/public/chrome/constants.ts index ec41dd0df1b9..bd26045a56ab 100644 --- a/src/core/public/chrome/constants.ts +++ b/src/core/public/chrome/constants.ts @@ -27,8 +27,9 @@ * specific language governing permissions and limitations * under the License. */ +import wazuh from '../../../../package.json'; -export const WAZUH_VERSION = '4.9'; +export const WAZUH_VERSION = wazuh.wazuh.version; export const OPENSEARCH_DASHBOARDS_FEEDBACK_LINK = 'https://wazuh.com/community/join-us-on-slack'; export const OPENSEARCH_DASHBOARDS_ASK_OPENSEARCH_LINK = OPENSEARCH_DASHBOARDS_FEEDBACK_LINK; export const GITHUB_CREATE_ISSUE_LINK = 'https://github.com/wazuh/wazuh/issues/new/choose';