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 4 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
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
## Fleet 4.60.0 (Nov 26, 2024)
lukeheath marked this conversation as resolved.
Show resolved Hide resolved

### Endpoint operations
- Users are now prompted to reenter the password in the Fleet UI if SCEP/NDES URL or username has changed.
- Users can now view scripts in the UI without downloading them.
- Creating a query now allows users to turn on/off automations transparently regarding the current log destination.
- Fixed path resolution for installer queries and scripts to always be relative to where the query file or script is referenced. This change may break existing YAML files that had to account for previous inconsistent behavior.
- Added support for deb packages compressed with zstd.
- 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.
- Add UI for allowing users to install custom profiles on hosts that include any of the defined labels.
- Improved memory usage of the Fleet server when uploading a large software installer file.

### Device management (MDM)
- Fixed a bug where users could attempt to install an App Store app on a host that was not MDM enrolled.
- Fixed MDM configuration profiles deployment when based on excluded labels.
- Dismissed error flash on the my device page when navigating to another URL.
- Fixed an issue where the create and update label endpoints could return outdated information in a deployment using a MySQL replica.
- Added indicator of how fresh a software title's host and version counts are on the title's details page.
- Reboot linux machine on unlock to work around GDM bug on Ubuntu.
- Cancelled pending script executions when a script is edited or deleted.
- Fix some cases where Fleet Maintained Apps generated incorrect uninstall scripts.

### Vulnerability management
- Fixed issue with uploading macOS software packages without a top level Distribution.xml but with a top level PackageInfo.xml.
- Added better handling of timeout and insufficient permissions errors in NDES SCEP proxy.
- Allowed skipping computationally heavy population of vulnerability details when populating host software on hosts list endpoint when using Fleet Premium.

### Bug fixes and improvements
- Set a more elegant minimum height for the Add hosts > ChromeOS > Policy for extension field, avoiding a scrollbar.
- Fixed a bug where the software batch endpoint status code was updated from 200 (OK) to 202 (Accepted).
- Added capability for Fleet to serve yara rules to agents over HTTPS authenticated via node key.
- Fixed a bug in the software batch endpoint status code.
- Generate an activity when activity automations are enabled, edited, or disabled.
- Major improvements to keyboard accessibility throughout the Fleet UI.
- Updated a package used for testing (msw) to improve security.
- Added support for "include any" label/profile relationships to the profile reconciliation machinery.
- Added DB support for "include any" label profile deployment.
- Added support for labels_include_any to GitOps.
- Added info banner for cloud customers to help with their windows autoenrollment setup.

## 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/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.

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/22773-fma-uninstall-fix

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/23078-allow-skipping-vuln-details

This file was deleted.

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.

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.

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-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
2 changes: 1 addition & 1 deletion tools/release/publish_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ fi

start_ver_tag=fleet-$start_version

# Check if there are updates to fleetctl dependencies (only when doing security updates to base images).
Check if there are updates to fleetctl dependencies (only when doing security updates to base images).
lukeheath marked this conversation as resolved.
Show resolved Hide resolved
if [[ $(git diff $start_ver_tag ./tools/wix-docker ./tools/bomutils-docker) ]]; then
echo "⚠️ Changes in fleetctl dependencies detected, please run the following before continuing the release:"
echo "1. git tag fleetctl-docker-deps-$next_ver && git push origin fleetctl-docker-deps-$next_ver"
Expand Down
Loading