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

Force agent selection when env endpoint changes

Open gdiazlo opened this issue 2 years ago • 0 comments

Wazuh Elastic Rev Security
4.2.x - - -
Browser
Chrome, Firefox, Safari, etc

Description

Naviate to an agent dashboard. Change the environment. If the selected agent id matches an agent in the other environment, it is automatically selected.

Preconditions 1.

Steps to reproduce

  1. Navigate to an agent dashboard
  2. Click on dropdown to change environment and select one previously deselected
  3. See how the agent also changes

Expected Result

  1. The agent selection resets and ask the user to select a new agent from the list of agents on the current environment.

Actual Result

  1. A new agent is selected automatically if it shared the id with the agent from the previous environment

Screenshots

https://user-images.githubusercontent.com/2181918/163876231-3607891b-8c9d-4ce0-b4c5-e6679b516c10.mp4

gdiazlo avatar Apr 18 '22 20:04 gdiazlo