Skip to content

Commit

Permalink
Adding changes for Fleet v4.55.0 (#20963)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeheath authored Aug 9, 2024
1 parent a3cd6cf commit ec01fa7
Show file tree
Hide file tree
Showing 62 changed files with 115 additions and 99 deletions.
113 changes: 93 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,86 @@
## Fleet 4.55.0 (Aug 8, 2024)

**NOTE:** Beginning with v4.55.0, Fleet no longer supports MySQL 5.7 because it has reached [end of life](https://mattermost.com/blog/mysql-5-7-reached-eol-upgrade-to-mysql-8-x-today/#:~:text=In%20October%202023%2C%20MySQL%205.7,to%20upgrade%20to%20MySQL%208.). The minimum version supported is MySQL 8.0.36.

### Endpoint Operations

- Added support for generating `fleetd` packages for Linux ARM64.
- Added new `fleetctl package` --arch flag.
- Updated `fleetctl package` command to remove the `--version` flag. The version of the package can be controlled by `--orbit-channel` flag.
- Updated maintenance window descriptions to update regularly to match the failing policy description/resolution.
- Updated maintenance windows using Google Calendar so that calendar events are now recreated within 30 seconds if deleted or moved to the past.
- Fleet server watches for potential changes for up to 1 week after original event time. If event is moved forward more than 1 week, then after 1 week Fleet server will check for event changes once every 30 minutes.
- **NOTE:** These near real-time updates may add additional load to the Google Calendar API, so it is recommended to use API usage alerts or other monitoring methods.

### Device Management

- Integrated [Escrow Buddy](https://github.com/macadmins/escrow-buddy) to add enforcement of FileVault during the MacOS Setup Assistant process for hosts that are
enrolled into teams (or no team) with disk encryption turned on. Thank you [homebysix](https://github.com/homebysix) and team!
- Updated `fleetd` to use [Escrow Buddy](https://github.com/macadmins/escrow-buddy) to rotate FileVault keys. Removed or modified internal API endpoints documented in the API for contributors.
- Added OS updates support to iOS/iPadOS devices.
- Added iOS and iPadOS device details refetch triggered with the existing `POST /api/latest/fleet/hosts/:id/refetch` endpoint.
- Added iOS and iPadOS user-installed apps to Fleet.
- Added iOS and iPadOS apps to be installed using Apple's VPP (Volume Purchase Program) to Fleet.
- Added support for VPP to GitOps.
- Added the `POST /mdm/apple/vpp_token`, `DELETE /mdm/apple/vpp_token` and `GET /vpp` endpoints and related functionality.
- Added new `GET /software/app_store_apps` and `POST /software/app_store_apps` endpoints and associated functionality.
- Added the associated VPP apps to the `GET /software/titles` and `GET /software/titles/:id` endpoints.
- Added the associated VPP apps to the `GET /hosts/:id/software` and `GET /device/:token/software` endpoints.
- Added support to delete a VPP app from a team in `DELETE /software/titles/:software_title_id/available_for_install`.
- Added `exclude_software` query parameter to "Get host by identifier" API.
- Added ability to add/remove/disable apps with VPP in the Fleet UI.
- Added a warning banner to the UI if the uploaded VPP token is about to expire/has expired.
- Added UI updates for VPP feature on host software and my device pages.
- Added global activity support for VPP-related activities.
- Added UI features for managing VPP apps for iPadOS and iOS hosts.
- Updated profile activities to include iOS and iPadOS.
- Updated Fleet UI to show OS version compliance on host details page.
- Added support for "No teams" on all software pages including adding software installers.
- Added DB migration to support VPP software features.
- Added DB migration to migrate older team configurations to the new version that includes both installers and App Store apps.
- Linux lock/unlock scripts now make use of pam_nologin to keep AD users locked out.
- Installed software list now includes Linux .deb packages that are 'on hold'.
- Added a special-case to properly name the Notion .exe Windows installer the same as how it will be reported by osquery post-install.
- Increased threshold to renew Apple SCEP certificates for MDM enrollments to 180 days.

### Vulnerability Management

- Fixed CVEs identified as 'Rejected' in NVD not matching against software.
- Fixed false negative vulnerabilities with IntelliJ IDEA CE and PyCharm CE installed via Homebrew.

### Bug fixes and improvements

- Dropped support for MySQL 5.7 and raised minimum required to MySQL 8.0.36.
- Updated software pre-install to use new GitOps format for query.
- Updated UI tooltips for pending OS settings.
- Added a migration to migrate older team configurations to the new version that includes both installers and App Store apps.
- Fixed a styling issue in the controls > OS settings > disk encryption table.
- Fixed a bug in `fleetctl preview` that was causing it to fail if Docker was installed without support for the deprecated `docker-compose` CLI.
- Fixed an issue where the app-wide warning banners were not showing on the initial page load.
- Fixed a bug where the hosts page would sometimes allow excess pagination.
- Fixed a bug where software install results could not be retrieved for deleted hosts in the activity feed.
- Fixed path that was incorrect for the download software installer package endpoint `GET /software/titles/:software_title_id/package`.
- Fixed a bug that set `last_enrolled_at` during orbit re-enrollment, which caused osquery enroll failures when `FLEET_OSQUERY_ENROLL_COOLDOWN` is set.
- Fixed the "Available for install" filter in the host's software page so that installers that were requested to be installed on the host (regardless of installation status) also show up in the list.
- Fixed a styling issue in the Controls > OS Settings > disk encryption table.
- Fixed a bug where Fleet google calendar events generated by Fleet <= 4.53.0 were not correctly processed by 4.54.0.
- Fixed a bug in `fleetctl preview` that was causing it to fail if Docker was installed without support for the deprecated `docker-compose` CLI.
- Fixed a bug where software install results could not be retrieved for deleted hosts in the activity feed.
- Fixed a bug where a software installer (a package or a VPP app) that has been installed on a host still shows up as "Available for install" and can still be requested to be installed after the host is transferred to a different team without that installer (or after the installer is deleted).
- Fixed the "Available for install" filter in the host's software page so that installers that were requested to be installed on the host (regardless of installation status) also show up in the list.

## Fleet 4.54.1 (Jul 24, 2024)

### Bug fixes
* Fixed a startup bug by performing an early restart of orbit if an agent options setting has changed.
* Implemented a small refactor of orbit subsystems.
* Removed the `--version` flag from the `fleetctl package` command. The version of the package can now be controlled by the `--orbit-channel` flag.
* Fixed a bug that set `last_enrolled_at` during orbit re-enrollment, which caused osquery enroll failures when `FLEET_OSQUERY_ENROLL_COOLDOWN` is set .
* In `fleetctl package` command, removed the `--version` flag. The version of the package can be controlled by `--orbit-channel` flag.
* Fixed a bug where Fleet google calendar events generated by Fleet <= 4.53.0 were not correctly processed by 4.54.0.
* Re-enabled cached logins after windows Unlock.

- Fixed a startup bug by performing an early restart of orbit if an agent options setting has changed.
- Implemented a small refactor of orbit subsystems.
- Removed the `--version` flag from the `fleetctl package` command. The version of the package can now be controlled by the `--orbit-channel` flag.
- Fixed a bug that set `last_enrolled_at` during orbit re-enrollment, which caused osquery enroll failures when `FLEET_OSQUERY_ENROLL_COOLDOWN` is set .
- In `fleetctl package` command, removed the `--version` flag. The version of the package can be controlled by `--orbit-channel` flag.
- Fixed a bug where Fleet google calendar events generated by Fleet <= 4.53.0 were not correctly processed by 4.54.0.
- Re-enabled cached logins after windows Unlock.

## Fleet 4.54.0 (Jul 17, 2024)

### Endpoint Operations
Expand Down Expand Up @@ -93,19 +166,19 @@

### Bug fixes

* Updated fleetctl get queries/labels/hosts descriptions.
* Fixed exporting CSVs with fields that contain commas to render properly.
* Fixed link to fleetd uninstall instructions in "Delete device" modal.
* Rendered only one banner on the my device page based on priority order.
* Hidden query delete checkboxes from team observers.
* Fixed issue where the Fleet UI could not be used to renew the ABM token after the ABM user who created the token was deleted.
* Fixed an issue where special characters in HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall broke the "installer_utils.ps1 -uninstallOrbit" step in the Windows MSI installer.
* Fixed counts for hosts with low disk space in summary page.
* Fleet UI fixes: Hide CTA on inherited queries/policies from team level users.
* Updated software updated timestamp tooltip.
* Fixed issue where some Windows applications were getting matched against Windows OS vulnerabilities.
* Fixed crash in `fleetd` installer on Windows if there are registry keys with special characters on the system.
* Fixed UI capitalizations.
- Updated fleetctl get queries/labels/hosts descriptions.
- Fixed exporting CSVs with fields that contain commas to render properly.
- Fixed link to fleetd uninstall instructions in "Delete device" modal.
- Rendered only one banner on the my device page based on priority order.
- Hidden query delete checkboxes from team observers.
- Fixed issue where the Fleet UI could not be used to renew the ABM token after the ABM user who created the token was deleted.
- Fixed an issue where special characters in HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall broke the "installer_utils.ps1 -uninstallOrbit" step in the Windows MSI installer.
- Fixed counts for hosts with low disk space in summary page.
- Fleet UI fixes: Hide CTA on inherited queries/policies from team level users.
- Updated software updated timestamp tooltip.
- Fixed issue where some Windows applications were getting matched against Windows OS vulnerabilities.
- Fixed crash in `fleetd` installer on Windows if there are registry keys with special characters on the system.
- Fixed UI capitalizations.

## Fleet 4.53.0 (Jun 25, 2024)

Expand Down
1 change: 0 additions & 1 deletion changes/13157-fv-escrow

This file was deleted.

2 changes: 0 additions & 2 deletions changes/16866-ade-force-filevault

This file was deleted.

2 changes: 0 additions & 2 deletions changes/17249-mysql-8

This file was deleted.

2 changes: 0 additions & 2 deletions changes/1845-linux-arm64

This file was deleted.

1 change: 0 additions & 1 deletion changes/18913-ignore-rejected-cves

This file was deleted.

1 change: 0 additions & 1 deletion changes/19280-maintenance-window-descriptions

This file was deleted.

3 changes: 0 additions & 3 deletions changes/19352-calendar-real-time

This file was deleted.

3 changes: 0 additions & 3 deletions changes/19447-ios-ipados-software

This file was deleted.

1 change: 0 additions & 1 deletion changes/19550-software-no-teams

This file was deleted.

1 change: 0 additions & 1 deletion changes/19646-ui-profiles-pending-tooltip

This file was deleted.

1 change: 0 additions & 1 deletion changes/19684-renew-scep-180

This file was deleted.

1 change: 0 additions & 1 deletion changes/19853-homebrew-intellij

This file was deleted.

2 changes: 0 additions & 2 deletions changes/19864-vpp-token-crud

This file was deleted.

1 change: 0 additions & 1 deletion changes/19865-db-schema

This file was deleted.

1 change: 0 additions & 1 deletion changes/19867-get-avail-apps

This file was deleted.

1 change: 0 additions & 1 deletion changes/19868-vpp-install-command

This file was deleted.

1 change: 0 additions & 1 deletion changes/19870-vpp-activities-backend

This file was deleted.

1 change: 0 additions & 1 deletion changes/19871-gitops-vpp-config

This file was deleted.

2 changes: 0 additions & 2 deletions changes/19880-include-vpp-apps-in-software-titles-endpoints

This file was deleted.

1 change: 0 additions & 1 deletion changes/20042-remove-package-version

This file was deleted.

1 change: 0 additions & 1 deletion changes/20100-os-version-compliance

This file was deleted.

1 change: 0 additions & 1 deletion changes/20271-deleted-host-software-installs

This file was deleted.

1 change: 0 additions & 1 deletion changes/20278-vpp-batch-api

This file was deleted.

1 change: 0 additions & 1 deletion changes/20370-linux-nologin

This file was deleted.

1 change: 0 additions & 1 deletion changes/20395-DE-table-style-fix

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changes/20440-Notion-exe-installer-name

This file was deleted.

1 change: 0 additions & 1 deletion changes/20467-vpp-ipadios-ui

This file was deleted.

1 change: 0 additions & 1 deletion changes/20469-backend-ios-ipados-os-updates

This file was deleted.

2 changes: 0 additions & 2 deletions changes/20515-delete-vpp-app

This file was deleted.

1 change: 0 additions & 1 deletion changes/20575-fix-profile-activities-to-include-ios-ipados

This file was deleted.

1 change: 0 additions & 1 deletion changes/20604-hosts-page-pagination

This file was deleted.

2 changes: 0 additions & 2 deletions changes/20618-nil-tz-not-handled

This file was deleted.

1 change: 0 additions & 1 deletion changes/20730-hide-available-for-install-wrong-team

This file was deleted.

1 change: 0 additions & 1 deletion changes/20747-gitops-software-query

This file was deleted.

1 change: 0 additions & 1 deletion changes/20751-detect-held-linux-packages-as-installed

This file was deleted.

1 change: 0 additions & 1 deletion changes/21006-fleetctl-preview

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changes/api-get-host-by-identifier-exclude-software

This file was deleted.

2 changes: 0 additions & 2 deletions changes/fix-software-array-migration

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-19691-add-vpp-token-expiry-banner

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-19866-add-remove-disable-vpp-in-ui

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-19869-vpp-ui-on-software-pages

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-20784-fix-app-wide-banner-showing

This file was deleted.

2 changes: 1 addition & 1 deletion charts/fleet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: v6.2.0
home: https://github.com/fleetdm/fleet
sources:
- https://github.com/fleetdm/fleet.git
appVersion: v4.54.1
appVersion: v4.55.0
dependencies:
- name: mysql
condition: mysql.enabled
Expand Down
2 changes: 1 addition & 1 deletion charts/fleet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
hostName: fleet.localhost
replicas: 3 # The number of Fleet instances to deploy
imageRepository: fleetdm/fleet
imageTag: v4.54.1 # Version of Fleet to deploy
imageTag: v4.55.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:
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/dogfood/terraform/aws/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ variable "database_name" {

variable "fleet_image" {
description = "the name of the container image to run"
default = "fleetdm/fleet:v4.54.1"
default = "fleetdm/fleet:v4.55.0"
}

variable "software_inventory" {
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/dogfood/terraform/gcp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ variable "redis_mem" {
}

variable "image" {
default = "fleetdm/fleet:v4.54.1"
default = "fleetdm/fleet:v4.55.0"
}

variable "software_installers_bucket_name" {
Expand Down
Loading

0 comments on commit ec01fa7

Please sign in to comment.