-
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
Redesign the agent's dashboard #4238
Comments
I think this could be a solution, more intuitive for the user: https://user-images.githubusercontent.com/99441266/179787358-49c6d8a7-048c-48ec-9301-759f374707bc.mp4 |
A solution could be to remove the table seen in the video, remove the page where that table is displayed, and display that table on the SCA card within an agent's screen. Video: vi.mp4Image of how the SCA card would look like in an agent: By clicking on any row of the table the user would be redirected to this page: |
Today I took the issue and have been working on understanding how the filters are being passed through the url and based on that displaying certain tables. |
This issue was due tomorrow, but due to many changes from the ci cd team on this issue, I was able to start it today and will change the due date to 23/09 |
Desired behavior:When we click on a row of the table we want to show in the SCA card: 'Latest scans' we want it to redirect us to a new page where we will show the second table. Research:Currently, the routes of the project are made with Angular, and the same route shows different screens depending on the states that are changing, so there is no specific route as there should be. This also happens in the section we want to redesign. Proposed solution:According to what I discussed with my colleague Antonio and seeing how the current development is, the best option will be to click on a row, pass some parameters by URL and if those parameters are present in the URL show the table we want, handling the states to behave as we expect, taking into account that this section handles states and filters for the tables, all this should coexist with the new development. |
Today I have been working on setting the corresponding states. |
While this issue was being developed, it was noticed that there was an error with the policy_id when making a request to the Wazuh API. It was not clarified if it could be a problem of the Wazuh API or if the problem is of the library used to make the requests when using a value containing invalid characters. An investigation was done to see if the policy_id could contain invalid characters that cause the same problem that was detected in a development. We consulted with Core and received the following response:
We will open an issue about this and continue with the topic. On the other hand when you click on the table of the SCA card and make the redirection it is checked that the relevant states are set and that the URL is or not present a parameter, based on these states and parameter it is decided whether to display a table or another. |
For testingCheck the new SCA Lastest scans table in the Agent Dashboard
Check the SCA > Inventory behavior
|
I added a new issue to treat and improve the current implementation: Refactor Agent SCA Inventory. |
Video showing the new design and navigationScreencast.2022-10-20.12.05.45.mp4Video showing the SCA: Lastest scan with paginationScreencast.2022-10-20.11.44.37.mp4 |
Describe the solution you'd like
In the agent's dashboard, there is an SCA card with a severity indicator of the last SCA scan made for that agent. It is not clear how we're selecting the policy or if we're agregating them in those indicators.
A user needs to go through three pages to reach a list of the failing policies. We want to take the user to the information without going through all these pages.
We need to design the widget in a way the user can reach the information weŕe displaying with a single click.
We will discuss possible designs as well as their implementation in this issue.
The text was updated successfully, but these errors were encountered: