From 070c977d17cd931bd0d6458f0fd377981903be8a Mon Sep 17 00:00:00 2001 From: JuanGarriuz <juan.garcia@wazuh.com> Date: Thu, 17 Aug 2023 14:19:07 +0200 Subject: [PATCH] Solve Backports --- CHANGELOG.md | 4 ++++ public/controllers/agent/components/register-agent.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 177cde2fbd..4cb75187a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ All notable changes to the Wazuh app project will be documented in this file. - Support for Wazuh 4.5.2 +### Fixed + +- Fixed an error with the commands in the Deploy new agent section for Oracle Linux 6+ agents [#5764](https://github.com/wazuh/wazuh-kibana-app/pull/5764) + ## Wazuh v4.5.1 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 01 ### Added diff --git a/public/controllers/agent/components/register-agent.js b/public/controllers/agent/components/register-agent.js index fc1f19b4b7..90b11c34ac 100644 --- a/public/controllers/agent/components/register-agent.js +++ b/public/controllers/agent/components/register-agent.js @@ -239,6 +239,7 @@ export const RegisterAgent = withErrorBoundary( this.state.selectedVersion === 'suse11' || this.state.selectedVersion === 'suse12' || this.state.selectedVersion === 'oraclelinux5' || + this.state.selectedVersion === 'oraclelinux6' || this.state.selectedVersion === '22' || this.state.selectedVersion === 'amazonlinux2' || this.state.selectedVersion === 'debian8' || @@ -254,7 +255,6 @@ export const RegisterAgent = withErrorBoundary( this.state.selectedVersion === 'redhat6' || this.state.selectedVersion === 'centos5' || this.state.selectedVersion === 'centos6' || - this.state.selectedVersion === 'oraclelinux6' || this.state.selectedVersion === 'amazonlinux1' || this.state.selectedVersion === 'debian7' || this.state.selectedVersion === 'ubuntu14'