Skip to content

[Bug] Auto Scan toggle state is not synchronized between Dashboard and Assets -> Nodes page #1183

@leotseng-suse

Description

@leotseng-suse

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The components show conflicting states. For example, the Dashboard shows "Vulnerability auto-scanning is OFF" (grey toggle), while the Assets -> Nodes page simultaneously shows the Auto Scan toggle as ON (green toggle).

dashboard_auto_scan_not_sync.mov

Expected Behavior

The "Auto Scan" toggle should rely on a centralized state. If Auto Scan is enabled or disabled on the Dashboard, that exact state should be reflected immediately on the Nodes page (and vice versa).

Steps To Reproduce

  1. Log in to the NeuVector UI.
  2. Navigate to the Dashboard and locate the "How to Reduce Exploit Risk" panel. Observe the state of the Auto Scan toggle (e.g., it is toggled OFF).
  3. Navigate to Assets -> Nodes using the left-hand navigation menu.
  4. Observe the state of the Auto Scan toggle at the top of the Nodes table (e.g., it is toggled ON).
  5. Toggle the setting on one page and navigate back to the other to see that the state does not dynamically update/sync across components.

Environment

- NeuVector: 5.5.0

Anything else?

No response

Metadata

Metadata

Labels

UINeuVector manager repo's tasks, including UI and seb serverbugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions