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

[BUG] Refresh button isn't working for vulnerabilities dashboard #232

Open
pereyra-m opened this issue Jul 10, 2024 · 0 comments
Open

[BUG] Refresh button isn't working for vulnerabilities dashboard #232

pereyra-m opened this issue Jul 10, 2024 · 0 comments

Comments

@pereyra-m
Copy link
Member

Describe the bug

During the testing related to wazuh/wazuh#24444, it was found that the Refresh button doesn't get new data unless the tab is reloaded.
Tested version: v4.8.0

To Reproduce
Steps to reproduce the behavior:

  1. Go to Vulnerabilities dashboard and filter some specific vulnerability
  2. Remove the package from the agent
  3. Restart the agent
  4. Confirm with a query at Dev Tools that the entry doesn't exists anymore in the index
  5. Go to the previously opened tab and hit Refresh. Nothing happens, the old data is still visible

Expected behavior
We expect that the users don't see invalid data in the vulnerabilities dashboard. The Refresh button should update the visualized data.

OpenSearch Version

{
  "name": "wazuh.indexer",
  "cluster_name": "opensearch",
  "cluster_uuid": "Eyhl3tD6RIinrrf0Vw2otA",
  "version": {
    "number": "7.10.2",
    "build_type": "rpm",
    "build_hash": "eee49cb340edc6c4d489bcd9324dda571fc8dc03",
    "build_date": "2023-09-20T23:54:29.889267151Z",
    "build_snapshot": false,
    "lucene_version": "9.7.0",
    "minimum_wire_compatibility_version": "7.10.0",
    "minimum_index_compatibility_version": "7.0.0"
  },
  "tagline": "The OpenSearch Project: https://opensearch.org/"
}

Dashboards Version

Plugins

None

Screenshots

This capture shows that it's possible to get old data because the Refresh button isn't working

2024-07-10_17-06

Host/Environment (please complete the following information):

  • OS: Manjaro, Wazuh Docker single node v4.8.0
  • Browser and version: Brave Versión 1.67.123 Chromium: 126.0.6478.126 (Build oficial) (64 bits)

Additional context

Thank you @asteriscos for looking at this.
He was able to reproduce the issue

Peek 2024-07-10 22-41

Peek 2024-07-10 22-28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant