-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix section deploy new agent #5045
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Command for RedHat Linux 7+, x86_64
sudo WAZUH_MANAGER='wazuh-master' WAZUH_AGENT_GROUP='default' WAZUH_AGENT_NAME='agent_01' yum install -y https://packages.wazuh.com/4.x/yum/wazuh-agent-4.4.0-1.x86_64.rpm
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.4-7.16 4.4-7.16
# Navigate to the new working tree
cd .worktrees/backport-4.4-7.16
# Create a new branch
git switch --create backport-5045-to-4.4-7.16
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 17936a9f5c62ff93553654413faa3550b11be55b
# Push it to GitHub
git push --set-upstream origin backport-5045-to-4.4-7.16
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.4-7.16 Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.4-2.4-wzd 4.4-2.4-wzd
# Navigate to the new working tree
cd .worktrees/backport-4.4-2.4-wzd
# Create a new branch
git switch --create backport-5045-to-4.4-2.4-wzd
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 17936a9f5c62ff93553654413faa3550b11be55b
# Push it to GitHub
git push --set-upstream origin backport-5045-to-4.4-2.4-wzd
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.4-2.4-wzd Then, create a pull request where the |
* fix section deploy new agent: rpm commands * fix section deploy new agent: command variables removed * fix section deploy new agent: hp package handler * fix section deploy new agent: aix commands, oracle linux * fix section deploy new agent: commands aix, opensuse, alpine, suse, fedora, hp and validations * changed the word or higher in buttons to + * changelog * changelog * changes * changes * changes * changes * section deploy new agent: message * changes * debian buttons * windows (cherry picked from commit 17936a9)
* fix section deploy new agent: rpm commands * fix section deploy new agent: command variables removed * fix section deploy new agent: hp package handler * fix section deploy new agent: aix commands, oracle linux * fix section deploy new agent: commands aix, opensuse, alpine, suse, fedora, hp and validations * changed the word or higher in buttons to + * changelog * changelog * changes * changes * changes * changes * section deploy new agent: message * changes * debian buttons * windows (cherry picked from commit 17936a9)
Fix section deploy new agent (#5045) * fix section deploy new agent: rpm commands * fix section deploy new agent: command variables removed * fix section deploy new agent: hp package handler * fix section deploy new agent: aix commands, oracle linux * fix section deploy new agent: commands aix, opensuse, alpine, suse, fedora, hp and validations * changed the word or higher in buttons to + * changelog * changelog * changes * changes * changes * changes * section deploy new agent: message * changes * debian buttons * windows (cherry picked from commit 17936a9) Co-authored-by: Chantal Belén kelm <99441266+chantal-kelm@users.noreply.github.com>
Fix section deploy new agent (#5045) * fix section deploy new agent: rpm commands * fix section deploy new agent: command variables removed * fix section deploy new agent: hp package handler * fix section deploy new agent: aix commands, oracle linux * fix section deploy new agent: commands aix, opensuse, alpine, suse, fedora, hp and validations * changed the word or higher in buttons to + * changelog * changelog * changes * changes * changes * changes * section deploy new agent: message * changes * debian buttons * windows (cherry picked from commit 17936a9)
Description
Fixed commands: Aix, OpenSUSE, Alpine, Suse11, Fedora, HP, Oracle Linux 5, Amazon Linux 2, Centos5
Changed the word 'or higher' in buttons to '+'.
Fixed validations for Hp, Solaris, and Alpine.
The enroll message for hp, solaris and Alpine os has been moved. The message now appears below the install and enroll section.
Issues Resolved
#5042
Evidence
Grabacion.de.pantalla.2022-12-28.a.la.s.12.24.07.mov
Steps to test
Verify commands for Aix, OpenSUSE, Alpine, Suse11, Fedora, HP, Oracle Linux 5, Amazon Linux 2, Centos5. You can verify them here
Verified that the buttons have changed the word 'or higher' to '+'.
Alpine, Hp or Solaris do not allow configuring wazuh server, agentName and agentGroup.
When clicking on an operating system, set an incorrect agentName and then click on Alpine, Hp or Solaris verify that no validation error appears.
Check List
yarn test:jest