fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Software pending install shows up in host software list when "Vulnerable software" filter is applied

Open jmwatts opened this issue 8 months ago • 2 comments

Fleet version: v4.66.0

Web browser and operating system: n/a


💥  Actual behavior

Vulnerable software and software with pending installs are shown Image

🧑‍💻  Steps to reproduce

  1. Queue up some pending installs for a host
  2. On the Software tab of the host details page, apply the "Vulnerable software" filter

🕯️ Expected behavior

Only vulnerable software is shown

jmwatts avatar Apr 01 '25 21:04 jmwatts

See comment about pending vulnerable software. https://github.com/fleetdm/fleet/issues/26824#issuecomment-2776509812

Resolved by, filter out any pending software when filtering by vulnerabilities for now.

ksykulev avatar Apr 03 '25 18:04 ksykulev

QA Notes

  • [x] VPP apps available to install do not show up when "Vulnerable" filter is applied
  • [x] Other available software does not show up when "Vulnerable" filter is applied unless the software is already installed on the host and there is a vulnerability associated with the installed version
  • [x] Pending app installs do not show up when "Vulnerable" filter is applied unless the software is already installed on the host and there is a vulnerability associated with the installed version
  • [x] Spot check that combinations of Severity and Exploited filters return correct results
  • [x] Spot check that count of vulnerable software items matches the number of items in the list when the filter is applied
  • [x] Spot check that vulnerabilities in filtered list correctly correspond to the severity filtered
  • [x] Spot check that vulnerabilities in filtered list are actually exploited in the wild if exploited is selected.
  • [x] Perform tests on Mac, Windows, Ubuntu

jmwatts avatar Apr 03 '25 23:04 jmwatts

Filter catches more, Vulnerable, pending both, Clarity restored.

fleet-release avatar Apr 04 '25 19:04 fleet-release