fleet/ee/server/service
Victor Lyuboslavsky 82d1f8e3db
disable_issues and host issues support for other API endpoints (#19802)
#18115 
`disable_issues` param, plus additional API support for critical
vulnerabilities count

* /api/latest/fleet/labels/:id/hosts now return
`critical_vulnerabilities_count` for premium users.
* /api/latest/fleet/labels/:id/hosts can be sorted by total_issues_count
by specifying `order_key=issues` query parameter.
* /api/latest/hosts/:id and /api/latest/hosts/identifier/:identifier now
return `critical_vulnerabilities_count` for premium users.
* For /api/latest/fleet/hosts, /api/latest/fleet/hosts/report, and
/api/latest/fleet/labels/:id/hosts endpoints, the
`disable_failing_policies` query parameter has been deprecated. Instead,
use `disable_issues` to disable the failing policies and critical
vulnerabilities counts.


# Checklist for submitter

- [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.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-06-18 14:13:38 -05:00
..
embedded_scripts Fix the unlock linux host script to support users without password (#19665) 2024-06-12 09:49:37 -04:00
appconfig.go enable controlled rollout of features by teams (#7408) 2022-08-30 08:13:09 -03:00
devices.go 🧹 friday cleanup party: substitute deprecated import of go-kit (#19774) 2024-06-17 10:27:31 -03:00
errors.go Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
hosts.go disable_issues and host issues support for other API endpoints (#19802) 2024-06-18 14:13:38 -05:00
mdm.go 🧹 friday cleanup party: substitute deprecated import of go-kit (#19774) 2024-06-17 10:27:31 -03:00
mdm_export_for_test.go Update/fix/add tests for puppet-related flow (preassign+match) (#17859) 2024-03-26 13:41:40 -04:00
mdm_external_test.go 🧹 friday cleanup party: substitute deprecated import of go-kit (#19774) 2024-06-17 10:27:31 -03:00
mdm_profiles.go Add validations to disallow custom MDM profiles that contain names reserved by Fleet (#15373) 2023-11-30 17:19:18 -06:00
mdm_test.go 19016 ingest certs on start (#19360) 2024-05-30 18:18:42 -03:00
service.go 🧹 friday cleanup party: substitute deprecated import of go-kit (#19774) 2024-06-17 10:27:31 -03:00
software.go Add team filter to software detail APIs (#16876) 2024-02-18 07:14:20 -06:00
software_installers.go Fix a panic when downloading a software installer that exists in the DB but not in the storage (#19527) 2024-06-11 08:53:41 -04:00
teams.go disable_issues and host issues support for other API endpoints (#19802) 2024-06-18 14:13:38 -05:00
teams_test.go If user is a global/team observer/observer+, 'teams' endpoints should not include secrets (#12216) 2023-06-08 17:30:34 -04:00
users.go Activity feed webhooks backend (#19261) 2024-05-24 11:25:27 -05:00
users_test.go Allow setting user roles during JIT provisioning (#10193) 2023-03-01 20:18:40 -03:00
vulnerabilities.go Bugfix: Use CVE struct in Vuln Responses (#17140) 2024-02-26 11:29:59 -07:00