Skip to content

Commit

Permalink
Prepare v4.39.0 (#14647)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeheath committed Oct 26, 2023
1 parent 4026537 commit 653aece
Show file tree
Hide file tree
Showing 39 changed files with 77 additions and 49 deletions.
65 changes: 65 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,68 @@
## Fleet 4.39.0 (Oct 19, 2023)

### Changes

* Added ability to store results of scheduled queries:
- Will store up to 1000 results for each scheduled query.
- If the number of results for a scheduled query is below 1000, then the results will continuously get updated every time the hosts send results to Fleet.
- Introduced `server_settings.query_reports_disabled` field in global configuration to disable this feature.
- New API endpoint: `GET /api/_version_/fleet/queries/{id}/report`.
- New field `discard_data` added to API queries endpoints for toggling report storage for a query. For yaml configurations, use `discard_data: true` to disable result storage.
- Enhanced osquery result log validation.
- **NOTE:** This feature enables storing more query data in Fleet. This may impact database performance, depending on the number of queries, their frequency, and the number of hosts in your Fleet instance. For large deployments, we recommend monitoring your database load while gradually adding new query reports to ensure your database is sized appropriately.

* Added scripts tab and table for host details page.

* Added support to return the decrypted disk encryption key of a Windows host.

* Added `GET /hosts/{id}/scripts` endpoint to retrieve status details of saved scripts for a host.

* Added `mdm.os_settings` to `GET /api/v1/hosts/{id}` response.

* Added `POST /api/fleet/orbit/disk_encryption_key` endpoint for Windows hosts to report bitlocker encryption key.

* Added activity logging for script operations (add, delete, edit).

* Added UI for scripts on the controls page.

* Added API endpoints for script management and updated existing ones to accommodate saved script ID.

* Added `GET /mdm/disk_encryption/summary` endpoint for disk encryption summaries for macOS and Windows.

* Added `os_settings` and `os_settings_disk_encryption` filters to various `GET` endpoints for host filtering based on OS settings.

* Enhanced `GET hosts/:id` API response to include more detailed disk encryption data for device client errors.

* Updated controls > disk encryption and host details page to include Windows bitlocker information.

* Improved styling for host details/device user failing policies display.

* Disabled multicursor editing for SQL editors.

* Deprecated `mdm.macos_settings.enable_disk_encryption` in favor of `mdm.enable_disk_encryption`.

* Updated Go version to 1.21.3.

### Bug fixes

* Fixed script content and output formatting issues on the scripts detail modal.

* Fixed a high database load issue in the Puppet match endpoint.

* Fixed setup flows background not covering the entire viewport when resized to some sizes.

* Fixed a bug affecting OS settings information retrieval regarding disk encryption status for Windows hosts.

* Fixed SQL parameters used in the `/api/latest/fleet/labels/{labelID}/hosts` endpoint for certain query parameters, addressing issue 13809.

* Fixed Python's CVE-2021-42919 false positive on macOS which should only affect Linux.

* Fixed a bug causing DEP profiles to sometimes not get assigned correctly to hosts.

* Fixed an issue in the bulk-set of MDM Apple profiles leading to excessive placeholders in SQL.

* Fixed max-height display issue for script content and output in the script details modal.

## Fleet 4.38.1 (Oct 5, 2023)

### Bug Fixes
Expand Down
1 change: 0 additions & 1 deletion changes/10102-host-script-details-api

This file was deleted.

1 change: 0 additions & 1 deletion changes/11923-python-false-positive-macos

This file was deleted.

1 change: 0 additions & 1 deletion changes/12927-disk-encryption-settings

This file was deleted.

4 changes: 0 additions & 4 deletions changes/12932-bitlocker-api-updates

This file was deleted.

1 change: 0 additions & 1 deletion changes/12933-bitlocker-host-details-api

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion changes/13654-script-activity-logging

This file was deleted.

1 change: 0 additions & 1 deletion changes/13703-fix-dep-assignment

This file was deleted.

2 changes: 0 additions & 2 deletions changes/14601-add-disk-encryption-detail-host-mdm

This file was deleted.

1 change: 0 additions & 1 deletion changes/14633-bump-go

This file was deleted.

8 changes: 0 additions & 8 deletions changes/7766-release-notes

This file was deleted.

1 change: 0 additions & 1 deletion changes/bug-11314-disable-multicursor-editor

This file was deleted.

1 change: 0 additions & 1 deletion changes/bug-13894-failing-policies-styling

This file was deleted.

1 change: 0 additions & 1 deletion changes/bug-14106-setup-resizing-body-color

This file was deleted.

1 change: 0 additions & 1 deletion changes/bugfix-too-many-placeholders

This file was deleted.

1 change: 0 additions & 1 deletion changes/db-load-puppet

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-13809-fix-host-filtering

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-13847-fix-script-content-and-output-heights

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-13953-changes-to-controls-page-for-bitlocker

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-13954-orbit-disk-encryption-key

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-14007-support-get-windows-encryption-key

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-14383-return-host-ossettings-for-winonly-mdm

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-14406-implement-script-host-details

This file was deleted.

2 changes: 0 additions & 2 deletions changes/issue-9829-scripts-api

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-9831-implement-scripts-page

This file was deleted.

2 changes: 1 addition & 1 deletion charts/fleet/Chart.yaml
Expand Up @@ -8,4 +8,4 @@ version: v5.0.1
home: https://github.com/fleetdm/fleet
sources:
- https://github.com/fleetdm/fleet.git
appVersion: v4.38.1
appVersion: v4.39.0
2 changes: 1 addition & 1 deletion charts/fleet/values.yaml
Expand Up @@ -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.38.1 # Version of Fleet to deploy
imageTag: v4.39.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
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.38.1"
default = "fleetdm/fleet:v4.39.0"
}

variable "software_inventory" {
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/dogfood/terraform/gcp/variables.tf
Expand Up @@ -68,5 +68,5 @@ variable "redis_mem" {
}

variable "image" {
default = "fleet:v4.38.1"
default = "fleet:v4.39.0"
}
2 changes: 1 addition & 1 deletion infrastructure/sandbox/JITProvisioner/jitprovisioner.tf
Expand Up @@ -206,7 +206,7 @@ resource "random_uuid" "jitprovisioner" {

# Use the local to make the trigger work.
locals {
fleet_tag = "v4.38.1"
fleet_tag = "v4.39.0"
}

resource "null_resource" "standard-query-library" {
Expand Down
Expand Up @@ -165,7 +165,7 @@ resource "helm_release" "main" {

set {
name = "imageTag"
value = "v4.38.1"
value = "v4.39.0"
}

set {
Expand Down
2 changes: 1 addition & 1 deletion terraform/byo-vpc/byo-db/byo-ecs/variables.tf
Expand Up @@ -13,7 +13,7 @@ variable "fleet_config" {
type = object({
mem = optional(number, 4096)
cpu = optional(number, 512)
image = optional(string, "fleetdm/fleet:v4.38.1")
image = optional(string, "fleetdm/fleet:v4.39.0")
family = optional(string, "fleet")
sidecars = optional(list(any), [])
depends_on = optional(list(any), [])
Expand Down
2 changes: 1 addition & 1 deletion terraform/byo-vpc/byo-db/variables.tf
Expand Up @@ -74,7 +74,7 @@ variable "fleet_config" {
type = object({
mem = optional(number, 4096)
cpu = optional(number, 512)
image = optional(string, "fleetdm/fleet:v4.38.1")
image = optional(string, "fleetdm/fleet:v4.39.0")
family = optional(string, "fleet")
sidecars = optional(list(any), [])
depends_on = optional(list(any), [])
Expand Down
2 changes: 1 addition & 1 deletion terraform/byo-vpc/example/main.tf
Expand Up @@ -17,7 +17,7 @@ provider "aws" {
}

locals {
fleet_image = "fleetdm/fleet:v4.38.1"
fleet_image = "fleetdm/fleet:v4.39.0"
}

resource "random_pet" "main" {}
Expand Down
2 changes: 1 addition & 1 deletion terraform/byo-vpc/variables.tf
Expand Up @@ -163,7 +163,7 @@ variable "fleet_config" {
type = object({
mem = optional(number, 4096)
cpu = optional(number, 512)
image = optional(string, "fleetdm/fleet:v4.38.1")
image = optional(string, "fleetdm/fleet:v4.39.0")
family = optional(string, "fleet")
sidecars = optional(list(any), [])
depends_on = optional(list(any), [])
Expand Down
2 changes: 1 addition & 1 deletion terraform/variables.tf
Expand Up @@ -215,7 +215,7 @@ variable "fleet_config" {
type = object({
mem = optional(number, 4096)
cpu = optional(number, 512)
image = optional(string, "fleetdm/fleet:v4.38.1")
image = optional(string, "fleetdm/fleet:v4.39.0")
family = optional(string, "fleet")
sidecars = optional(list(any), [])
depends_on = optional(list(any), [])
Expand Down
2 changes: 1 addition & 1 deletion tools/fleetctl-npm/package.json
@@ -1,6 +1,6 @@
{
"name": "fleetctl",
"version": "v4.38.1",
"version": "v4.39.0",
"description": "Installer for the fleetctl CLI tool",
"bin": {
"fleetctl": "./run.js"
Expand Down

0 comments on commit 653aece

Please sign in to comment.