wazuh-dashboard-plugins icon indicating copy to clipboard operation
wazuh-dashboard-plugins copied to clipboard

Implement vulnerabilities per app table on vulnerability inventory

Open gdiazlo opened this issue 2 years ago • 2 comments

Describe the solution you'd like

Currently, we have a single table which list all the vulnerabilities on an endpoint. We want to group by application, so we can get a list of vulnerable applications and know how many vulnerabilities on each severity an application has:

application name | total | critical | high | medium | low

We need to design a way to either generate a new custom table to handle this query, or to include a button which will make the current table show this list.

Current layout:

image

gdiazlo avatar Jun 06 '22 09:06 gdiazlo

Research

I think it is only possible with the current API endpoints if we get all the data and group by application name. This means, the table pagination is done in the frontend and not through the API, so it implies a heavy load to the API because we need to get all the vulnerabilities.

I asked the API team if the data collection is possible with the current API endpoints or it is required the creation of a new one.

Desvelao avatar Feb 09 '23 09:02 Desvelao

@davidjiglesias commented to us that the currently available API endpoints don't allow the required query and that must be discussed about the global queries.

A meeting should be done to talk about this topic.

Desvelao avatar Feb 09 '23 11:02 Desvelao