Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding changes for Fleet v4.60.0 #23817

Merged
merged 9 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
## Fleet 4.60.0 (Nov 26, 2024)
lukeheath marked this conversation as resolved.
Show resolved Hide resolved

### Endpoint operations
- Added support for labels_include_any to gitops.
- Added major improvements to keyboard accessibility throughout app (e.g. checkboxes, dropdowns, table navigation).
- Added activity item for `fleetd` enrollment with host serial and display name.
- Added capability for Fleet to serve YARA rules to agents over HTTPS authenticated via node key (requires osquery 5.14+).
- Added a query to allow users to turn on/off automations while being transparent of the current log destination.
- Updated UI to allow users to view scripts (from both the scripts page and host details page) without downloading them.
- Updated activity feed to generate an activity when activity automations are enabled, edited, or disabled.
- Cancelled pending script executions when a script is edited or deleted.

### Device management (MDM)
- Added better handling of timeout and insufficient permissions errors in NDES SCEP proxy.
- Added info banner for cloud customers to help with their windows autoenrollment setup.
- Added DB support for "include any" label profile deployment.
- Added support for "include any" label/profile relationships to the profile reconciliation machinery.
- Added `team_identifier` signature information to Apple macOS applications to the `/api/latest/fleet/hosts/:id/software` API endpoint.
- Added indicator of how fresh a software title's host and version counts are on the title's details page.
- Added UI for allowing users to install custom profiles on hosts that include any of the defined labels.
- Added UI features supporting disk encryption for Ubuntu and Fedora Linux.
- Added support for deb packages compressed with zstd.

### Vulnerability management
- Allowed skipping computationally heavy population of vulnerability details when populating host software on hosts list endpoint (`GET /api/latest/fleet/hosts`) when using Fleet Premium (`populate_software=without_vulnerability_descriptions`).

### Bug fixes and improvements
- Improved memory usage of the Fleet server when uploading a large software installer file. Note that the installer will now use (temporary) disk space and sufficient storage space is required.
- Improved performance of adding and removing profiles to large teams by an order of magnitude.
- Disabled accessibility via keyboard for forms that are disabled via a slider.
- Updated software batch endpoint status code from 200 (OK) to 202 (Accepted).
- Updated a package used for testing (msw) to improve security.
- Updated to reboot linux machine on unlock to work around GDM bug on Ubuntu 24.04.
- Updated GitOps to return an error if the deprecated `apple_bm_default_team` key is used and there are more than 1 ABM tokens in Fleet.
- Dismissed error flash on the my device page when navigating to another URL.
- Modified the Fleet setup experience feature to not run if there is no software or script configured for the setup experience.
- Set a more accurate minimum height for the Add hosts > ChromeOS > Policy for extension field, avoiding a scrollbar.
- Added UI prompt for user to reenter the password if SCEP/NDES url or username has changed.
- Updated ABM public key to download as as PEM format instead of CRT.
- Fixed issue with uploading macOS software packages that do not have a top level `Distribution.xml`, but do have a top level `PackageInfo.xml`. For example, Okta Verify.app.
- Fixed some cases where Fleet Maintained Apps generated incorrect uninstall scripts.
- Fixed a bug where a device that was removed from ABM and then added back wouldn't properly re-enroll in Fleet MDM.
- Fixed name/version parsing issue with PE (EXE) installer self-extracting archives such as Opera.
- Fixed a bug where the create and update label endpoints could return outdated information in a deployment using a mysql replica.
- Fixed the MDM configuration profiles deployment when based on excluded labels.
- Fixed gitops path resolution for installer queries and scripts to always be relative to where the query file or script is referenced. This change breaks existing YAML files that had to account for previous inconsistent behavior (e.g. installers in a subdirectory referencing scripts elsewhere).
- Fixed issue where minimum OS version enforcement was not being applied during Apple ADE if MDM IdP integration was enabled.
- Fixed a bug where users would be allowed to attempt an install of an App Store app on a host that was not MDM enrolled.

## Fleet 4.59.1 (Nov 18, 2024)

### Bug fixes
Expand Down
1 change: 0 additions & 1 deletion changes/14899-yara-rules

This file was deleted.

1 change: 0 additions & 1 deletion changes/20595-improve-memory-usage-software-installers

This file was deleted.

1 change: 0 additions & 1 deletion changes/21338-scope-profile-pending-rebuild

This file was deleted.

1 change: 0 additions & 1 deletion changes/21633-windows-auto-enrollment-info-banner

This file was deleted.

1 change: 0 additions & 1 deletion changes/21709-activities-automation-activity

This file was deleted.

1 change: 0 additions & 1 deletion changes/21888-dequeue-pending-scripts

This file was deleted.

1 change: 0 additions & 1 deletion changes/22162-exclude-labels-fix-default-behavior

This file was deleted.

1 change: 0 additions & 1 deletion changes/22187-gitops-software-relative-paths

This file was deleted.

1 change: 0 additions & 1 deletion changes/22224-query-log-destinations

This file was deleted.

1 change: 0 additions & 1 deletion changes/22269-software-title-updated-at

This file was deleted.

2 changes: 0 additions & 2 deletions changes/22359-gitops-mult-abm

This file was deleted.

2 changes: 0 additions & 2 deletions changes/22361-os-update-ade-sso

This file was deleted.

1 change: 0 additions & 1 deletion changes/22437-linux-lock-black-screen

This file was deleted.

1 change: 0 additions & 1 deletion changes/22446-scripts-modal

This file was deleted.

2 changes: 0 additions & 2 deletions changes/22575-ui-for-include-any-labels

This file was deleted.

1 change: 0 additions & 1 deletion changes/22576-labels-include-any-gitops

This file was deleted.

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

This file was deleted.

1 change: 0 additions & 1 deletion changes/22581-cron-updates

This file was deleted.

1 change: 0 additions & 1 deletion changes/22606-keyboard-accessiblity

This file was deleted.

1 change: 0 additions & 1 deletion changes/22702-linux-encryption-frontend

This file was deleted.

1 change: 0 additions & 1 deletion changes/22773-fma-uninstall-fix

This file was deleted.

1 change: 0 additions & 1 deletion changes/22810-fleetd-enroll-activity

This file was deleted.

1 change: 0 additions & 1 deletion changes/22891-zstd-deb-packages

This file was deleted.

1 change: 0 additions & 1 deletion changes/22985-disable-forms-keyboard-access

This file was deleted.

2 changes: 0 additions & 2 deletions changes/23016-add-chrome-host-text-area-height

This file was deleted.

1 change: 0 additions & 1 deletion changes/23021-abm-cert-pem

This file was deleted.

1 change: 0 additions & 1 deletion changes/23078-allow-skipping-vuln-details

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions changes/23200-ade-enroll

This file was deleted.

1 change: 0 additions & 1 deletion changes/23213-okta-verify

This file was deleted.

2 changes: 0 additions & 2 deletions changes/23247-vpp-app-install

This file was deleted.

1 change: 0 additions & 1 deletion changes/23492-software-batch-status-code

This file was deleted.

1 change: 0 additions & 1 deletion changes/23525-ndes-errors

This file was deleted.

1 change: 0 additions & 1 deletion changes/23540-pe-sfx

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changes/23651-reenter-password

This file was deleted.

1 change: 0 additions & 1 deletion changes/23669-dismiss-error-flash-on-url-change-dup

This file was deleted.

2 changes: 0 additions & 2 deletions changes/24024-no-setup-exp

This file was deleted.

1 change: 0 additions & 1 deletion changes/8750-add-team_identifier-to-software

This file was deleted.

4 changes: 2 additions & 2 deletions charts/fleet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ name: fleet
keywords:
- fleet
- osquery
version: v6.2.2
version: v6.2.3
home: https://github.com/fleetdm/fleet
lukeheath marked this conversation as resolved.
Show resolved Hide resolved
sources:
- https://github.com/fleetdm/fleet.git
appVersion: v4.59.1
appVersion: v4.60.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.59.1 # Version of Fleet to deploy
imageTag: v4.60.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.59.1"
default = "fleetdm/fleet:v4.60.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.59.1"
default = "fleetdm/fleet:v4.60.0"
}

variable "software_installers_bucket_name" {
Expand Down
4 changes: 2 additions & 2 deletions infrastructure/guardduty/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion infrastructure/guardduty/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.59.1"
version = "~> 4.60.0"
}
}
backend "s3" {
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/infrastructure/cloudtrail/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.59.1"
version = "~> 4.60.0"
}
}
backend "s3" {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion infrastructure/infrastructure/elastic-agent/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.59.1"
version = "~> 4.60.0"
}
}
backend "s3" {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion infrastructure/infrastructure/guardduty-alerts/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.59.1"
version = "~> 4.60.0"
}
}
backend "s3" {
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/infrastructure/spend_alerts/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.59.1"
version = "~> 4.60.0"
}
}
backend "s3" {
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.59.1")
image = optional(string, "fleetdm/fleet:v4.60.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.59.1"
image = "fleetdm/fleet:v4.60.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.59.1")
image = optional(string, "fleetdm/fleet:v4.60.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.59.1"
image = "fleetdm/fleet:v4.60.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.59.1")
image = optional(string, "fleetdm/fleet:v4.60.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.59.1"
image = "fleetdm/fleet:v4.60.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.59.1"
fleet_image = "fleetdm/fleet:v4.60.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.59.1")
image = optional(string, "fleetdm/fleet:v4.60.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.59.1"
image = "fleetdm/fleet:v4.60.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.59.1"
image = "fleetdm/fleet:v4.59.1" # override default to deploy the image you desire
# for the Fleet image. e.g. "quay.io/fleetdm/fleet:v4.60.0"
image = "fleetdm/fleet:v4.60.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.59.1")
image = optional(string, "fleetdm/fleet:v4.60.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.59.1"
image = "fleetdm/fleet:v4.60.0"
family = "fleet"
sidecars = []
depends_on = []
Expand Down
2 changes: 1 addition & 1 deletion tools/fleetctl-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM rust:latest@sha256:56418f03475cf7b107f87d7fabe99ce9a4a9f9904daafa99be7c50d9

ARG transporter_url=https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/resources/download/public/Transporter__Linux/bin

RUN cargo install --version 0.16.0 apple-codesign \
RUN cargo install --locked --version 0.16.0 apple-codesign \
&& curl -sSf $transporter_url -o transporter_install.sh \
&& sh transporter_install.sh --target transporter --accept --noexec

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.59.1",
"version": "v4.60.0",
"description": "Installer for the fleetctl CLI tool",
"bin": {
"fleetctl": "./run.js"
Expand Down
Loading