Adding changes for Fleet v4.53.0 (#19965)

This commit is contained in:
Luke Heath 2024-06-28 14:21:58 -07:00 committed by GitHub
parent 36f7406eda
commit 972988e39b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
63 changed files with 55 additions and 77 deletions

View file

@ -1,9 +1,52 @@
## Fleet 4.53.0 (Jun 25, 2024)
### Endpoint Operations
- Enabled `fleetctl gitops` to create teams with no enroll secrets, or clear enroll secrets for an existing team.
- Added support for upgrades to `fleetd` RPMs packages.
- Changed `activities.created_at` timestamp precision to microseconds.
- Added character validation to /api/fleet/orbit/device_token endpoint.
- Cleaned up count rendering fixing clientside flashing counts.
- Improved performance by removing unnecessary database query that listed host software during
initial page load of the "My device" page.
- Made the rendering of empty text cell values consistent. Also render the '0' value as a number instead of the default value.
- Added a server setting to configure the query report max size.
- Fixed a bug where scrollbars were always present on modal backgrounds.
- Fixed bug in `fleetctl preview` caused by creating enroll secrets.
### Device Management (MDM)
- Extended the timeout for the endpoint to upload a software installer.
- Improved the logic used by Fleet to detect if a host is currently MDM-managed.
- Added S3 config variables with a `carves_` and `software_installers` prefix.
- Fixed bug where MDM migration failed when attempting to renew enrollment profiles on macOS Sonoma devices.
- Fixed issue where Windows-specific error message was displayed when failing to parse macOS configuration profiles.
- Fixed a bug where MDM migration failed when attempting to renew enrollment profiles on macOS Sonoma devices.
- Fixed a server panic when sending a request to `/mdm/apple/mdm` without certificate headers.
- Fixed issue where profiles larger than 65KB were being truncated when stored on MySQL 8.
- Fixed a bug that prevented unused script contents to be periodically cleaned up from the database.
- Fixed UI bug where error detail was overflowing the table in "OS settings" modal in "My device"
page UI.
- Fixed a bug where the software installer exists in the database but the installer does not exist
in the storage.
- Added a "soft-delete" approach when deleting a host so that its script execution details are still
available for the activities feed.
- Fixed UI bug where Zoom icon was displayed for ZoomInfo.
- Fixed issue with backwards compatibility with the deprecated `FLEET_S3_*` environment variables.
- Fixed a code linter issue where a slice was created non-empty and appended-to, instead of empty with the required capacity.
### Vulnerability Management
- Added vulnerabilities matching for applications that include an OS scope.
- Added vulnerability detection in NVD for custom ubuntu kernels.
- Removed duplicate `os_versions` results in /api/latest/fleet/vulnerabilities/:cve endpoint.
- Removed vscode false positive vulnerabilities.
- Clarified Fleet uses CVSS base score version 3.x.
## Fleet 4.52.0 (Jun 20, 2024)
### Bug fixes
### Changelog
* Fixed an issue where profiles larger than 65KB were being truncated when stored on MySQL 8.
* Fixed activity without public IP to be human readable.
* Made the rendering of empty text cell values consistent. Also rendered the '0' value as a number instead of the default value `---`.

View file

@ -1 +0,0 @@
- Fleet now matches vulnerabilies for applications that include an OS scope [example](https://nvd.nist.gov/vuln/detail/CVE-2023-0400)

View file

@ -1 +0,0 @@
* Added warning server log when hosts are enrolling with duplicate hardware identifiers.

View file

@ -1,2 +0,0 @@
- Endpoint `/api/latest/fleet/users/admin` to return API token when creating API-only (non-SSO) users.
- Added API-token of the created API-only (non-SSO) user to the output of `fleetctl user create --api-only`.

View file

@ -1 +0,0 @@
- Fixed issue where Windows-specific error message was displayed when failing to parse macOS configuration profiles.

View file

@ -1 +0,0 @@
* Update osquery flags with new flags added on 5.12.X.

View file

@ -1 +0,0 @@
* Use a "soft-delete" approach when deleting a host so that its script execution details are still available for the activities feed.

View file

@ -1,2 +0,0 @@
* Scripts are now enabled by default when fleet is automatically installed
* The fleet msi installer now has a parameter `ENABLE_SCRIPTS` to enable or disable scripts when installed through cmd

View file

@ -1 +0,0 @@
* Fixed the `/mdm/apple/mdm` endpoint so that it returns status code 408 (request timeout) instead of 500 (internal server error) when encountering a timeout reading the request body.

View file

@ -1,4 +0,0 @@
* /api/latest/fleet/hosts and /api/latest/fleet/labels/:id/hosts now return `critical_vulnerabilities_count` for premium users. This data is held in the new `host_issues` table. The failing policies total is updated in real-time, while the critical vulnerabilities total is updated every hour after vulnerabilities job.
* /api/latest/fleet/hosts and /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.

View file

@ -1 +0,0 @@
- Added support for `--end-user-email` option when building fleetd Linux packages.

View file

@ -1 +0,0 @@
* Use Fleet instead of FleetDM in MDM certificates

View file

@ -1 +0,0 @@
* Added support for upgrades to fleetd RPMs packages.

View file

@ -1 +0,0 @@
removed vscode false positive vulnerabilities

View file

@ -1 +0,0 @@
* Error with 404 when the user attempts to delete team policies for a non-existent team

View file

@ -1 +0,0 @@
- Fixed UI bug where Zoom icon was displayed for ZoomInfo.

View file

@ -1 +0,0 @@
- Cleanup count rendering fixing clientside flashing counts

View file

@ -1,2 +0,0 @@
- Fixed UI bug where error detail was overflowing the table in "OS settings" modal in "My device"
page UI.

View file

@ -1 +0,0 @@
* Fixed bug in `fleetctl preview` caused by creating enroll secrets.

View file

@ -1 +0,0 @@
- Clean up software empty states in the UI

View file

@ -1 +0,0 @@
- Fix activity without public IP to be human readable

View file

@ -1 +0,0 @@
* Fixed an issue with the Windows-specific `windows-remove-fleetd.ps1` script provided in the Fleet repository where running the script did remove `fleetd` but made it impossible to reinstall the agent.

View file

@ -1 +0,0 @@
- Fix a bug where scrollbars were always present on modal backgrounds

View file

@ -1 +0,0 @@
* Fixed a code linter issue where a slice was created non-empty and appended-to, instead of empty with the required capacity.

View file

@ -1 +0,0 @@
- Replace React Tooltip with Tooltipwrapper to fix "sticky tooltip"s observed in 2 places.

View file

@ -1 +0,0 @@
* Fixed a panic (API returning code 500) when the software installer exists in the database but the installer does not exist in the storage.

View file

@ -1,2 +0,0 @@
* Enabled `fleetctl gitops` to create teams with no enroll secrets, or clear enroll secrets for an existing team. This is done by setting `team_settings.secrets` to nothing or to null or to an empty array ( `[]` ) in YAML.
* Enabled `fleetctl apply` to create teams with no enroll secrets, or clear enroll secrets for an existing team. This is done by setting `team.secrets` to an empty array in YAML.

View file

@ -1 +0,0 @@
- added vulnerability detection in NVD for custom ubuntu kernels

View file

@ -1,3 +0,0 @@
Fixed host details page and device details page not showing the latest software.
Added `exclude_software` query parameter to the `/api/latest/fleet/hosts/:id` endpoint to exclude software from the response.

View file

@ -1 +0,0 @@
* Disabled AI features on non-new installations upgrading from < 4.50.X to >= 4.51.X.

View file

@ -1 +0,0 @@
* Extended the timeout for the endpoint to upload a software installer (`POST /fleet/software/package`), and improved handling of the maximum size.

View file

@ -1 +0,0 @@
* Fixed a bug that prevented unused script contents to be periodically cleaned up from the database.

View file

@ -1 +0,0 @@
* bug fix: Hide no teams option from team level users

View file

@ -1 +0,0 @@
- Fixed bug where MDM migration failed when attempting to renew enrollment profiles on macOS Sonoma devices.

View file

@ -1,2 +0,0 @@
- Adds S3 config variables with a `carves_` and `software_installers` prefix, which are used to
configure buckets for those features. The existing non-prefixed variables are kept for backwards compatibility.

View file

@ -1 +0,0 @@
* Fix queries with dot notation in the column name to show results

View file

@ -1,2 +0,0 @@
* /api/latest/fleet/hosts/:id/lock returns `unlock_pin` for Apple hosts when query parameter `view_pin=true` is set
* UI no longer uses unlock pending state for Apple hosts

View file

@ -1 +0,0 @@
* Fixed the Linux unlock script to support passwordless users.

View file

@ -1 +0,0 @@
* Added a server setting to configure the query repory cap size, `server_settings.query_report_cap` (default is 1000).

View file

@ -1 +0,0 @@
- Fixes issue where the MDM ingestion flow would fail if an invalid enrollment reference was passed.

View file

@ -1 +0,0 @@
- Improved performance by removing unnecessary database query that listed host software during initial page load of the "My device" page.

View file

@ -1 +0,0 @@
* Improved the logic used by Fleet to detect if a host is currently MDM-managed.

View file

@ -1 +0,0 @@
- Fixes an issue where profiles larger than 65KB were being truncated when stored on MySQL 8.

View file

@ -1 +0,0 @@
* Clarify Fleet uses CVSS base score version 3.x

View file

@ -1 +0,0 @@
- Removed duplicate `os_versions` results in /api/latest/fleet/vulnerabilities/:cve endpoint

View file

@ -1 +0,0 @@
* Changed `activities.created_at` timestamp precision to microseconds

View file

@ -1 +0,0 @@
* Fixed a server panic when sending a request to `/mdm/apple/mdm` without certificate headers.

View file

@ -1 +0,0 @@
Added character validation to /api/fleet/orbit/device_token endpoint

View file

@ -1 +0,0 @@
- Host policy table can be sortable by response and View all host link preserves the team

View file

@ -1 +0,0 @@
* Added support to wipe iOS/iPadOS devices.

View file

@ -1 +0,0 @@
- Fixes an issue with backwards compatibility with the deprecated `FLEET_S3_*` environment variables.

View file

@ -1 +0,0 @@
- dont always send a 500 from the /debug/errors endpoint

View file

@ -1 +0,0 @@
- Makes the rendering of empty text cell values consistent. Also render the '0' value as a number instead of the default value `---`.

View file

@ -1 +0,0 @@
- fix various icon misalignments on the dashboard page

View file

@ -1 +0,0 @@
- Improved db usage when sending statistics

View file

@ -8,7 +8,7 @@ version: v6.1.0
home: https://github.com/fleetdm/fleet
sources:
- https://github.com/fleetdm/fleet.git
appVersion: v4.52.0
appVersion: v4.53.0
dependencies:
- name: mysql
condition: mysql.enabled

View file

@ -2,7 +2,7 @@
# All settings related to how Fleet is deployed in Kubernetes
hostName: fleet.localhost
replicas: 3 # The number of Fleet instances to deploy
imageTag: v4.52.0 # Version of Fleet to deploy
imageTag: v4.53.0 # Version of Fleet to deploy
podAnnotations: {} # Additional annotations to add to the Fleet pod
serviceAccountAnnotations: {} # Additional annotations to add to the Fleet service account
resources:

View file

@ -56,7 +56,7 @@ variable "database_name" {
variable "fleet_image" {
description = "the name of the container image to run"
default = "fleetdm/fleet:v4.52.0"
default = "fleetdm/fleet:v4.53.0"
}
variable "software_inventory" {

View file

@ -68,5 +68,5 @@ variable "redis_mem" {
}
variable "image" {
default = "fleet:v4.52.0"
default = "fleet:v4.53.0"
}

View file

@ -24,7 +24,7 @@ variable "fleet_config" {
vuln_processing_cpu = optional(number, 2048)
vuln_data_stream_mem = optional(number, 1024)
vuln_data_stream_cpu = optional(number, 512)
image = optional(string, "fleetdm/fleet:v4.52.0")
image = optional(string, "fleetdm/fleet:v4.53.0")
family = optional(string, "fleet-vuln-processing")
sidecars = optional(list(any), [])
extra_environment_variables = optional(map(string), {})
@ -82,7 +82,7 @@ variable "fleet_config" {
vuln_processing_cpu = 2048
vuln_data_stream_mem = 1024
vuln_data_stream_cpu = 512
image = "fleetdm/fleet:v4.52.0"
image = "fleetdm/fleet:v4.53.0"
family = "fleet-vuln-processing"
sidecars = []
extra_environment_variables = {}

View file

@ -17,7 +17,7 @@ provider "aws" {
}
locals {
fleet_image = "fleetdm/fleet:v4.52.0"
fleet_image = "fleetdm/fleet:v4.53.0"
domain_name = "example.com"
}

View file

@ -63,8 +63,8 @@ module "fleet" {
fleet_config = {
# To avoid pull-rate limiting from dockerhub, consider using our quay.io mirror
# for the Fleet image. e.g. "quay.io/fleetdm/fleet:v4.52.0"
image = "fleetdm/fleet:v4.52.0" # override default to deploy the image you desire
# for the Fleet image. e.g. "quay.io/fleetdm/fleet:v4.53.0"
image = "fleetdm/fleet:v4.53.0" # override default to deploy the image you desire
# See https://fleetdm.com/docs/deploy/reference-architectures#aws for appropriate scaling
# memory and cpu.
autoscaling = {

View file

@ -1,6 +1,6 @@
{
"name": "fleetctl",
"version": "v4.52.0",
"version": "v4.53.0",
"description": "Installer for the fleetctl CLI tool",
"bin": {
"fleetctl": "./run.js"