kolide / launcher

Osquery launcher, autoupdater, and packager
https://kolide.com/launcher
Other
506 stars 103 forks source link

Flatpak package manager support #1619

Closed smlx closed 7 months ago

smlx commented 9 months ago

It would be nice to support flatpak package manager on Linux for package update checks.

Here's an example command to list upgradable packages:

$ flatpak remote-ls --updates
Name                 Application ID             Version                Branch       Arch
Google Chrome        com.google.Chrome          121.0.6167.184-1       stable       x86_64
Firefox              org.mozilla.firefox        122.0.1                stable       x86_64
directionless commented 9 months ago

Do you know if the flatpak command has any options to produce structured data? (Like json) or additional information about whether something is a security update?

smlx commented 9 months ago

Unfortunately JSON output is an open feature request, and update metadata such as security are not supported.

directionless commented 7 months ago

Underlying support to launcher was added in https://github.com/kolide/launcher/pull/1635 via the kolide_flatpak_upgradeable table. Support has also been added to the Kolide product. (Thanks @Micah-Kolide !)