Open nonpunctual opened 3 weeks ago
Assuming this is because there are a significant number of hosts running Fedora, we probably also want to map them in vuln scanning (by adding relevant OVALs). Piggybacking on this as "better support for Fedora hosts" feels like a cohesive topic for Feature Fest.
@phtardif1 @noahtalerman @marko-lisica @iansltx This is a customer promise for the prospect tagged on the issue. Thanks.
Looking further at vuln scanning, I misspoke. We map Fedora vulns to associated RHELs, build in #6242 and updated in #15174. So never mind out my tag-on here.
Hey @nonpunctual what workflow are they trying to accomplish? i.e. what page is the user trying to filter on? Are they using this filter in a automated workflow? (API)
Design capacity: S assuming this is about filtering hosts on the Hosts page by Fedora hosts.
Updating issue description. Original feature request below:
centos
is the closest option currently in Fleet to Fedora, but, the details query does not account for Fedora hosts via the centos
builtin label.
The builtin query for centos is: SELECT 1 FROM os_version WHERE platform = 'centos' OR name LIKE '%centos%'
Add "All Fedora Hosts" as builtin label option
See: https://fleetdm.com/docs/rest-api/rest-api#default-response32
Admins would be able to easily use "All Fedora Hosts" as a label selection.
Hey @rachaelshaw heads up that I updated the title and story to clarify that this is about adding the label to the API only: https://fleetdm.com/docs/rest-api/rest-api#get-hosts-summary
@dherder and @nonpunctual does this user story and solution (see issue description for API changes) work for pospect-redwine
?
Note that Fleet today only exposes macOS, Windows, Linux (All Linux), Chromebooks, iPhones, and iPads:
After we ship this story that won't change.
Thanks for the clarification @noahtalerman Brock wisely asked prospect-redwine for confirmation.
osquery> select * from os_version;
name = Fedora Linux
version = Fedora release 38 (Thirty Eight)
major = 38
minor = 0
patch = 0
build =
platform = rhel
platform_like = rhel
codename =
arch = aarch64
Goal
GET /host_summary
API endpoint here,Context
Changes
Product
Engineering
QA
Risk assessment
Manual testing steps
Testing notes
Confirmation