Skip to content
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

Add tab to manage outdated agents and upgrade via WPK #3107

Closed
DFolchA opened this issue Mar 26, 2021 · 8 comments
Closed

Add tab to manage outdated agents and upgrade via WPK #3107

DFolchA opened this issue Mar 26, 2021 · 8 comments
Labels

Comments

@DFolchA
Copy link

DFolchA commented Mar 26, 2021

Describe the solution you'd like

It would be useful to have a tab that could be used to check if any agent is outdated and upgrade them if necessary.

Currently, this can be done by using the Dev Tools console and running the corresponding API calls,
https://documentation.wazuh.com/current/user-manual/agents/remote-upgrading/agent-upgrade-module.html
but it would be nice to have a more convenient and intuitive way of doing this.

@DFolchA DFolchA added type/enhancement Enhancement issue cicd labels Mar 26, 2021
@CPAlejandro
Copy link
Contributor

As an idea for its development, he had thought of adding two options:

  • In the agents table, in the actions part, add a button with the shape of an upward arrow, in the same style as the ones that already exist, which can only be selected if it is an agent that can be updated to a more current version .
    -Add an option, such as deploy new agent, which is update old agents, which opens a submenu (as in explore agents) where only the agents that can be updated appear and an icon next to them to select them and an option to mark all, to be able to update as many as you want at once

@CPAlejandro CPAlejandro self-assigned this Apr 15, 2021
@CPAlejandro
Copy link
Contributor

Current feedback
Created a button to update a particular outdated agent and created a button that takes you to the view to be able to delete several agents at the same time in the agents overview.
Still creating said view.

@CPAlejandro
Copy link
Contributor

CPAlejandro commented Apr 20, 2021

Current feedback
We changed the course of the solution of this PR and we went on to adapt the PR already created that we can find here

@CPAlejandro
Copy link
Contributor

Current feedback
Adapting from the PR the buttons to update, refresh or delete an agent, both in the agent table:
image
And in its own section.
image

@CPAlejandro
Copy link
Contributor

Today's Feedback
Refactored functions that did the same to update, delete or restart an agent.
Pending tasks:

  • Fix when clicking on select all agents, which breaks the table
  • Add the icon next to the version, when an agent is updated, know if it continues to update or has finished the update in error.
  • To be able to go to another page of agents and when we return to where we were, have the same checks that we had

@CPAlejandro
Copy link
Contributor

Current feedback

  • Refactored several functions that generated a lot of errors again, finally having 2 that control the behavior of the 3 buttons
  • Resolved error that caused the restart or update buttons to not be shown in the section of each agent, when it should
  • Trying to solve the problems that are generated in the table when pressing the select all agents button and the problem that when you go to another page, the agents you had marked are lost

@CPAlejandro
Copy link
Contributor

Current feedback

  • Including the filters created previously or at the moment to the table, to be able only to select the agents according to those filters
  • Working on refactoring the table to create it by rows to achieve that when changing pages and returning, continue with the marked checks that we had before.
  • Working on the inclusion of the button to know if the update of an agent is still in process or has finished properly / failing

@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Nov 29, 2023

Superseded by #6129

@AlexRuiz7 AlexRuiz7 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants