Removed unsupported detailed queries for fleetd-chrome hosts. (#18945)

#18944
# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [ ] Added/updated tests
- [x] Manual QA for all new/changed functionality
This commit is contained in:
Victor Lyuboslavsky 2024-05-13 12:23:17 -05:00 committed by GitHub
parent db5055993a
commit 2bc511b6e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1 @@
Removed unsupported detailed queries for fleetd-chrome hosts.

View file

@ -282,6 +282,7 @@ var hostDetailQueries = map[string]DetailQuery{
return nil
},
Platforms: append(fleet.HostLinuxOSs, "darwin", "windows"), // not chrome
},
"osquery_info": {
Query: "select * from osquery_info limit 1",
@ -349,6 +350,7 @@ var hostDetailQueries = map[string]DetailQuery{
return nil
},
Platforms: append(fleet.HostLinuxOSs, "darwin", "windows"), // not chrome
},
"disk_space_unix": {
Query: `
@ -883,6 +885,7 @@ var scheduledQueryStats = DetailQuery{
(SELECT value from osquery_flags where name = 'pack_delimiter') AS delimiter
FROM osquery_schedule`,
DirectTaskIngestFunc: directIngestScheduledQueryStats,
Platforms: append(fleet.HostLinuxOSs, "darwin", "windows"), // not chrome
}
var softwareLinux = DetailQuery{