fleet
fleet copied to clipboard
Software search bar on host details page does not display correct results
Steps to reproduce:
- Log in as admin
- Navigate to Hosts
- Select a host
- Navigate to the software tab on the Host details page
- Search for software using the search bar (NOTE: to reproduce the software must have a vulnerability associated with it. Search for the software by name and it will return no results) Expected: Software matching the search term should appear as a result Actual: No results found Video: https://www.loom.com/share/c29495d95fef40c0bedb1ebd6a5c190d (https://www.loom.com/share/c29495d95fef40c0bedb1ebd6a5c190d)
Searching for any software that has an associated vulnerability returns no results.
https://github.com/user-attachments/assets/6681d529-8471-4c0b-bd2c-ea9b929a462a
Was able to reproduce in my environment.
If the software title has a vulnerability associated with it, searching for the software title by name or CVE returns no results.
Just want to double check, this is installed software, not pending for install or vpp? As part of https://github.com/fleetdm/fleet/issues/27745 we stated that we don't scan for vulnerabilities for pending software. Which means this is going to impact search
@ksykulev this is not pending install. This is software that exists on the host and has a vulnerability associated with it.
Is it vpp software though?
@ksykulev no
Please add your planning poker estimate with Zenhub @ksykulev
QA Notes
- Log in as admin
- Navigate to Hosts
- Select a host
- Navigate to the software tab on the Host details page
- Search for software using the search bar
- [x] Vulnerable software matching a string search term that exists in the software name should appear as a result
- [x] Vulnerable software matching CVE string or substring should appear as a result
- [x] Vulnerable software matching a string search term that exists in the software name, that is also "Available to install", should appear as a result
- [x] Non-vulnerable software matching a string search term that exists in the software name should appear as a result
- [x] Non-vulnerable software matching a string search term that exists in the software name, that is also "Available to install", should appear as a result
Search bar refined, Vulnerability in sight, Users find peace of mind.
Search bar to reveal, Vulnerabilities heal, Trust in Fleet is real.
Fix in code, like a bridge, Guides through cloud city data, No more lost in search.