fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
2.67k stars 379 forks source link

Software tab on the Fleet UI doesn't show any results #20210

Open santhu813 opened 4 days ago

santhu813 commented 4 days ago

Fleet version: <!-- Copy this from the "My account" page in the Fleet UI, or run fleetctl --version --> 4.26.0 Web browser and operating system: Waterfox/Firefox


💥  Actual behavior

Deployed Fleet on a Ubuntu-20.04 VM. Added Ubuntu and CentOS VM's to the hosts. When I query explicitly to get the packages on the client vm's, I see the results. But by default, "Software" tab on the fleet UI doesn't show any results.

Screenshot 2024-07-03 at 2 26 28 PM

🧑‍💻  Steps to reproduce

  1. Login to fleet UI
  2. Verify the client machines on "Hosts" tab.
  3. Click "Software" tab on the fleet UI. This doesn't give any results.

Any insights on the issue would be appreciated.

🕯️ More info (optional)

I'm running a free version of Fleet.

lucasmrod commented 3 days ago

Hi @santhu813!

The main software tab is populated after the "vulnerabilities" cron runs (should run every hour or so). Could you check server logs? (maybe the cron is failing to run and hence the software tab will remain empty)

PS: We always recommend updating to the latest Fleet version (4.53.1 as of today).

santhu813 commented 2 days ago

Hi @lucasmrod

The below are the vulnerability logs from the fleet server.

Screenshot 2024-07-05 at 10 57 56 AM

Please let me know if any additional details are required

santhu813 commented 2 days ago

Hi @lucasmrod

I have upgraded the fleet from 4.26.0 to 4.53.1. But still the software tab on the fleet UI doesn't show any results. When I click "Add Software" - It says, "All teams is selected, you cannot add software when all team is selected". Attaching the screenshots for reference below:

Screenshot 2024-07-05 at 12 43 36 PM

Screenshot 2024-07-05 at 12 46 03 PM

Note: I didn't configure any teams in my fleet.yaml file

santhu813 commented 2 days ago

Hi @lucasmrod

After making changes to the fleet configuration file, now I'm able to see packages in software tab. But for some reason, Vulnerabilities are not showing up for any of the client machines.

The strange thing is, When I go by Software -> Click on any Packages -> Click on version -> It says "No vulnerability is detected for the package"

But

When I go by "Software -> Click vulnerability -> It says "no software detected"

When I go by Software -> Click OS -> It always says "Vulnerabilities are not supported for this type of host"

Screenshot 2024-07-05 at 1 56 56 PM

Screenshot 2024-07-05 at 1 57 38 PM

lucasmrod commented 2 days ago

Ah, currently we currently support finding vulnerabilities in Linux packages, but not vulnerabilities on Linux OSs.

PS: Maybe the message "Vulnerabilities are not supported for this type of host" should be "OS vulnerabilities are not supported for this type of host" to make it more clear.

lucasmrod commented 2 days ago

Let us know if we can close this issue given you've managed to fix the issue.