Skip to content

Commit

Permalink
Prepare Fleet v4.58.0 (#22960)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeheath authored Oct 17, 2024
1 parent d78e515 commit e98f86d
Show file tree
Hide file tree
Showing 58 changed files with 75 additions and 65 deletions.
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,60 @@
## Fleet 4.58.0 (Oct 17, 2024)

**Endpoint Operations:**

* Added builtin label for Fedora Linux. **Warning:** Migrations will fail if a pre-existing 'Fedora Linux' label exists. To resolve, delete the existing 'Fedora Linux' label.
* Added ability to trigger script run on policy failure.
* Updated GitOps script and software installer relative paths to now always relative to the file they're in. This change breaks existing YAML files that had to account for previous inconsistent behavior (e.g. script paths declared in no-team.yml being relative to default.yaml one directory up).
* Improved performance for host details and Fleet Desktop, particularly in environments using high volumes of live queries.
* Updated activity cleanup job to remove all expired live queries to improve API performance in environment using large volumes of live queries. To note, the cleanup cron may take longer on the first run after upgrade.
* Added an event for when a policy automation triggers a script run in the activity feed.
* Added battery status to Windows host details.

**Device Management (MDM):**

* Added the `POST /software/fleet_maintained_apps` endpoint for adding Fleet-maintained apps.
* Added the `GET /software/fleet_maintained_apps/{app_id}` endpoint to retrieve details of a Fleet-maintained app.
* Added API endpoint to list team available Fleet-maintained apps.
* Added UI for managing Fleet-maintained apps.
* Updated add software modal to be seperate pages in Fleet UI.
* Added support for uploading RPM packages.
* Updated the request timeouts for software installer edits to be the same as initial software installer uploads.
* Updated UI for software uploads to include upload progress bar.
* Improved performance of SQL queries used to determine MDM profile status for Apple hosts.

**Vulnerability Management:**

* Fixed MSRC feed pulls (for NVD release builds) in environments where GitHub access is authenticated.

**Bug fixes and improvements:**

* Added the 'Unsupported screen size' UI on the My device page.
* Removed redundant built in label filter pills.
* Updated success messages for lock, unlock, and wipe commands in the UI.
* Restricted width of policy description wrappers for better UI.
* Updated host details about section to condense information into fewer columns at smaller widths.
* Hid CVSS severity column from Fleet Free software details > vulnerabilities sections.
* Updated UI to remove leading/trailing whitespace when creating or editing team or query names.
* Added UI improvements when selecting live query targets (e.g. styling, closing behavior).
* Updated API to return 409 instead of 500 when trying to delete an installer associated with a policy automation.
* Updated battery health definitions to be defined as cycle counts greater than 1000 or max capacity falling under 80% of designed capacity for macOS and Windows.
* Added information on how battery health is defined to the UI.
* Updated UI to surface duplicate label name error to user.
* Fixed software uninstaller script for `pkg`s to only remove '.app' directories installed by the package.
* Fixed "no rows" error when adding a software installer that matches an existing title's name and source but not its bundle ID.
* Fixed an issue with the migration adding support for multiple VPP tokens that would happen if a token is removed prior to upgrading Fleet.
* Fixed UI flow for observers to easily query hosts from the host details page.
* Fixed bug with label display names always sentence casing.
* Fixed a bug where a profile wouldn't be removed from a host if it was deleted or if the host was moved to another team before the profile was installed on the host.
* Fixed a bug where removing a VPP or ABM token from a GitOps YAML file would leave the team assignments unchanged.
* Fixed host software filter bug that resets dropdown filter on table changes (pagination, order by column, etc).
* Fixed UI bug: Edit team name closes modal.
* Fixed UI so that switching vulnerability search types does not cause page re-render.
* Fixed UI policy automation truncation when selecting software to auto-install.
* Fixed UI design bug where software package file name was not displayed as expected.
* Fixed a small UI bug where a button overlapped some copy.
* Fixed software icon for chrome packages.

## Fleet 4.57.3 (Oct 11, 2024)

### Bug fixes
Expand Down
1 change: 0 additions & 1 deletion changes/18354-update-success-messages

This file was deleted.

1 change: 0 additions & 1 deletion changes/19619-align-battery-health

This file was deleted.

2 changes: 0 additions & 2 deletions changes/19619-win-battery

This file was deleted.

1 change: 0 additions & 1 deletion changes/20308-file-uploader

This file was deleted.

1 change: 0 additions & 1 deletion changes/20537-add-rpm-support

This file was deleted.

1 change: 0 additions & 1 deletion changes/20683-less-columns-smaller-width

This file was deleted.

1 change: 0 additions & 1 deletion changes/20865-fix-chrome-icon

This file was deleted.

1 change: 0 additions & 1 deletion changes/20959-query-host-flow-fix-observer

This file was deleted.

1 change: 0 additions & 1 deletion changes/21276-select-live-query-targets-improvements

This file was deleted.

1 change: 0 additions & 1 deletion changes/21343-hide-redundant-built-in-label-pills

This file was deleted.

1 change: 0 additions & 1 deletion changes/21370-bundle-id-quickfix

This file was deleted.

1 change: 0 additions & 1 deletion changes/21409-fedora-label

This file was deleted.

1 change: 0 additions & 1 deletion changes/21594-host-software-filter-bug

This file was deleted.

1 change: 0 additions & 1 deletion changes/21773-ingest-fleet-maintained-apps

This file was deleted.

1 change: 0 additions & 1 deletion changes/21775-ui-fleet-maintained-apps

This file was deleted.

1 change: 0 additions & 1 deletion changes/21776-add-software

This file was deleted.

1 change: 0 additions & 1 deletion changes/21777-list-fleet-manated-apps

This file was deleted.

1 change: 0 additions & 1 deletion changes/218090-add-sofware-from-modal-to-pages

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion changes/21875-duplicate-label-name

This file was deleted.

2 changes: 0 additions & 2 deletions changes/21891-mdm-profile-fails

This file was deleted.

1 change: 0 additions & 1 deletion changes/21923-switch-exact-search-focus-bug

This file was deleted.

1 change: 0 additions & 1 deletion changes/22094-cleanup-queries

This file was deleted.

1 change: 0 additions & 1 deletion changes/22094-query-optimization

This file was deleted.

1 change: 0 additions & 1 deletion changes/22097-mdm-migration-guide

This file was deleted.

1 change: 0 additions & 1 deletion changes/22106-fix-software-package-name

This file was deleted.

1 change: 0 additions & 1 deletion changes/22118-run-scripts-fe

This file was deleted.

1 change: 0 additions & 1 deletion changes/22122-mdm-apple-status-queries

This file was deleted.

1 change: 0 additions & 1 deletion changes/22159-hide-severity-fleet-free

This file was deleted.

1 change: 0 additions & 1 deletion changes/22197-policy-auto-software-truncation

This file was deleted.

2 changes: 0 additions & 2 deletions changes/22198-defaults

This file was deleted.

1 change: 0 additions & 1 deletion changes/22207-close-team-modal

This file was deleted.

1 change: 0 additions & 1 deletion changes/22212-trim-names

This file was deleted.

1 change: 0 additions & 1 deletion changes/22234-fleet-maintained-apps-get-api

This file was deleted.

1 change: 0 additions & 1 deletion changes/22330-label-display-names

This file was deleted.

1 change: 0 additions & 1 deletion changes/22415-fix-vpp-migration

This file was deleted.

1 change: 0 additions & 1 deletion changes/22485-BYOD-enroll-copy-button

This file was deleted.

1 change: 0 additions & 1 deletion changes/22490-unsupported-screen-size-DUP

This file was deleted.

1 change: 0 additions & 1 deletion changes/22492-msrc-fix

This file was deleted.

1 change: 0 additions & 1 deletion changes/22555-gitops-paths

This file was deleted.

1 change: 0 additions & 1 deletion changes/22565-policy-automation-sw-delete-400

This file was deleted.

1 change: 0 additions & 1 deletion changes/22571-fix-pkg-uninstall

This file was deleted.

1 change: 0 additions & 1 deletion changes/22619-policy-scrollbar

This file was deleted.

1 change: 0 additions & 1 deletion changes/22692-script-policy-id

This file was deleted.

1 change: 0 additions & 1 deletion changes/software-edit-request-deadline

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.57.3
appVersion: v4.58.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.57.3 # Version of Fleet to deploy
imageTag: v4.58.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.57.3"
default = "fleetdm/fleet:v4.58.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.57.3"
default = "fleetdm/fleet:v4.58.0"
}

variable "software_installers_bucket_name" {
Expand Down
4 changes: 2 additions & 2 deletions terraform/addons/vuln-processing/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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.57.3")
image = optional(string, "fleetdm/fleet:v4.58.0")
family = optional(string, "fleet-vuln-processing")
sidecars = optional(list(any), [])
extra_environment_variables = optional(map(string), {})
Expand Down Expand Up @@ -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.57.3"
image = "fleetdm/fleet:v4.58.0"
family = "fleet-vuln-processing"
sidecars = []
extra_environment_variables = {}
Expand Down
4 changes: 2 additions & 2 deletions terraform/byo-vpc/byo-db/byo-ecs/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variable "fleet_config" {
mem = optional(number, 4096)
cpu = optional(number, 512)
pid_mode = optional(string, null)
image = optional(string, "fleetdm/fleet:v4.57.3")
image = optional(string, "fleetdm/fleet:v4.58.0")
family = optional(string, "fleet")
sidecars = optional(list(any), [])
depends_on = optional(list(any), [])
Expand Down Expand Up @@ -119,7 +119,7 @@ variable "fleet_config" {
mem = 512
cpu = 256
pid_mode = null
image = "fleetdm/fleet:v4.57.3"
image = "fleetdm/fleet:v4.58.0"
family = "fleet"
sidecars = []
depends_on = []
Expand Down
4 changes: 2 additions & 2 deletions terraform/byo-vpc/byo-db/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ variable "fleet_config" {
mem = optional(number, 4096)
cpu = optional(number, 512)
pid_mode = optional(string, null)
image = optional(string, "fleetdm/fleet:v4.57.3")
image = optional(string, "fleetdm/fleet:v4.58.0")
family = optional(string, "fleet")
sidecars = optional(list(any), [])
depends_on = optional(list(any), [])
Expand Down Expand Up @@ -205,7 +205,7 @@ variable "fleet_config" {
mem = 512
cpu = 256
pid_mode = null
image = "fleetdm/fleet:v4.57.3"
image = "fleetdm/fleet:v4.58.0"
family = "fleet"
sidecars = []
depends_on = []
Expand Down
2 changes: 1 addition & 1 deletion terraform/byo-vpc/example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ provider "aws" {
}

locals {
fleet_image = "fleetdm/fleet:v4.57.3"
fleet_image = "fleetdm/fleet:v4.58.0"
domain_name = "example.com"
}

Expand Down
4 changes: 2 additions & 2 deletions terraform/byo-vpc/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ variable "fleet_config" {
mem = optional(number, 4096)
cpu = optional(number, 512)
pid_mode = optional(string, null)
image = optional(string, "fleetdm/fleet:v4.57.3")
image = optional(string, "fleetdm/fleet:v4.58.0")
family = optional(string, "fleet")
sidecars = optional(list(any), [])
depends_on = optional(list(any), [])
Expand Down Expand Up @@ -298,7 +298,7 @@ variable "fleet_config" {
mem = 512
cpu = 256
pid_mode = null
image = "fleetdm/fleet:v4.57.3"
image = "fleetdm/fleet:v4.58.0"
family = "fleet"
sidecars = []
depends_on = []
Expand Down
4 changes: 2 additions & 2 deletions terraform/example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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.57.3"
image = "fleetdm/fleet:v4.57.3" # override default to deploy the image you desire
# for the Fleet image. e.g. "quay.io/fleetdm/fleet:v4.58.0"
image = "fleetdm/fleet:v4.58.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 = {
Expand Down
4 changes: 2 additions & 2 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ variable "fleet_config" {
mem = optional(number, 4096)
cpu = optional(number, 512)
pid_mode = optional(string, null)
image = optional(string, "fleetdm/fleet:v4.57.3")
image = optional(string, "fleetdm/fleet:v4.58.0")
family = optional(string, "fleet")
sidecars = optional(list(any), [])
depends_on = optional(list(any), [])
Expand Down Expand Up @@ -346,7 +346,7 @@ variable "fleet_config" {
mem = 512
cpu = 256
pid_mode = null
image = "fleetdm/fleet:v4.57.3"
image = "fleetdm/fleet:v4.58.0"
family = "fleet"
sidecars = []
depends_on = []
Expand Down
2 changes: 1 addition & 1 deletion tools/fleetctl-npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fleetctl",
"version": "v4.57.3",
"version": "v4.58.0",
"description": "Installer for the fleetctl CLI tool",
"bin": {
"fleetctl": "./run.js"
Expand Down

0 comments on commit e98f86d

Please sign in to comment.