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

Change default columns in vulnerabilities events #6947

Closed
asteriscos opened this issue Aug 26, 2024 · 2 comments · Fixed by #6949
Closed

Change default columns in vulnerabilities events #6947

asteriscos opened this issue Aug 26, 2024 · 2 comments · Fixed by #6949
Assignees
Labels

Comments

@asteriscos
Copy link
Member

asteriscos commented Aug 26, 2024

Wazuh Rev Browser
4.9.0 - Chrome, Firefox, Safari, etc

Description
We need to change the default columns displayed in the Vulnerabilities modules -> Events table to:

timestamp agent.name data.vulnerability.cve data.vulnerability.severity data.vulnerability.package.name data.vulnerability.package.version data.vulnerability.status

Code reference:
https://github.com/wazuh/wazuh-dashboard-plugins/blame/v4.9.0-rc1/plugins/main/public/components/overview/vulnerabilities/events/vulnerabilities-columns.tsx

@wazuh wazuh deleted a comment Aug 26, 2024
@wazuhci wazuhci moved this to Backlog in Release 4.9.1 Aug 26, 2024
@Desvelao Desvelao self-assigned this Aug 27, 2024
@wazuhci wazuhci moved this from Backlog to In progress in Release 4.9.1 Aug 27, 2024
@Desvelao
Copy link
Member

Desvelao commented Aug 27, 2024

Changes

I changed the order of columns as specified.

image

When I tried to check the change in the UI, I added sample data and I did not see the `data.vulnerability.status`` column displayed. I found the sample data does not include this field.

I wanted to see the alerts related to vulnerabilities and deploying an environment with 4.9.0 I could not get alerts despite I had vulnerability inventory. I reviewed the alerts on a deploy of 4.8.2 and take a example for the field data.vulnerability.status.

I will add this field to the sample data of Vulnerabilities and this lets the data.vulnerability.status column can be renderd on Vulnerability Detection > Events table.

@Desvelao Desvelao linked a pull request Aug 27, 2024 that will close this issue
6 tasks
@wazuhci wazuhci moved this from In progress to Pending review in Release 4.9.1 Aug 27, 2024
@wazuhci wazuhci moved this to Pending review in Release 4.9.0 Aug 28, 2024
@wazuhci wazuhci removed this from Release 4.9.1 Aug 28, 2024
@wazuhci wazuhci moved this from Pending review to In review in Release 4.9.0 Aug 29, 2024
@Desvelao
Copy link
Member

Desvelao commented Aug 29, 2024

The issue was moved to 4.9.0 so it needed to open a new pull request that contains the changes.

Pull request: #6949

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
2 participants