Skip to content

Commit

Permalink
Prepare Fleet v4.37.0 (#13821)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeheath committed Sep 8, 2023
1 parent 3dd85c6 commit a745c3a
Show file tree
Hide file tree
Showing 51 changed files with 93 additions and 60 deletions.
80 changes: 80 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,83 @@
## Fleet 4.37.0 (Sep 8, 2023)

### Changes

* Added `/scripts/run` and `scripts/run/sync` API endpoints to send a script to be executed on a host and optionally wait for its results.

* Added `POST /api/fleet/orbit/scripts/request` and `POST /api/fleet/orbit/scripts/result` Orbit-specific API endpoints to get a pending script to execute and send the results back, and added an Orbit notification to let the host know it has scripts pending execution.

* Improved performance at scale when applying hundreds of policies to thousands of hosts via `fleetctl apply`.
- IMPORTANT: In previous versions of Fleet, there was a performance issue (thundering herd) when applying hundreds of policies on a large number of hosts. To avoid this, make sure to deploy this version of Fleet, and make sure Fleet is running for at least 1h (or the configured `FLEET_OSQUERY_POLICY_UPDATE_INTERVAL`) before applying the policies.

* Added pagination to the policies API to increase response time.

* Added policy count endpoints to support pagination on the frontend.

* Added an endpoint to report `fleetd` errors.

* Added logic to report errors during MDM migration.

* Added support in fleetd to execute scripts and send back results (disabled by default).

* Added an activity log when script execution was successfully requested.

* Automatically set the DEP profile to be the same as "no team" (if set) for teams created using the `/match` endpoint (used by Puppet).

* Added JumpCloud to the list of well-known MDM solutions.

* Added `fleetctl run-script` command.

* Made all table links right-clickable.

* Improved the layout of the MDM SSO pages.

* Stored user email when a user turned on MDM features with SSO enabled.

* Updated the copy and image displayed on the MDM migration modal.

* Upgraded Go to v1.19.12.

* Updated the macadmins/osquery-extension to v0.0.15.

* Updated nanomdm dependency.

### Bug Fixes

* Fixed a bug where live query UI and export data tables showed all returned columns.

* Fixed a bug where Jira and/or Zendesk integrations were being removed when an unrelated setting was changed.

* Fixed software ingestion to not re-insert software when incoming fields from hosts were longer than what Fleet supports. This bug caused some CVEs to be reported every time the vulnerability cron ran.
- IMPORTANT: After deploying this fix, the vulnerability cron will report the CVEs one last time, and subsequent cron runs will not report the CVE (as expected).

* Fixed duplicate policy names in `ee/cis/win-10/cis-policy-queries.yml`.

* Fixed typos in policy queries in the Windows CIS policies YAML (`ee/cis/win-10/cis-policy-queries.yml`).

* Fixed a bug where query stats (aka `Performance impact`) were not being populated in Fleet.

* Added validation to `fleetctl apply` for duplicate policy names in the YAML file and attempting to change the team of an existing policy.

* Optimized host queries when using policy statuses.

* Changed the authentication method during Windows MDM enrollment to use `LoadHostByOrbitNodeKey` instead of `HostByIdentifier`.

* Fixed alignment on long label names on host details label filter dropdown.

* Added UI for script run activity and script details modal.

* Fixed queries navigation bar bug where if in query detail, you could not navigate back to the manage queries table.

* Made policy resolutions that include URLs clickable in the UI.

* Fixed Fleet UI custom query frequency display.

* Fixed live query filter icon and various other live query icons.

* Fixed Fleet UI tabs highlight while tabbing but not on multiple clicks.

* Fixed double scrollbar bug on dashboard page.

## Fleet 4.36.0 (Aug 17, 2023)

* Added the `fleetctl upgrade-packs` command to migrate 2017 packs to the new combined schedule and query concept.
Expand Down
1 change: 0 additions & 1 deletion changes/12243-policy-resolution-urls

This file was deleted.

1 change: 0 additions & 1 deletion changes/12476-ui-export-shows-all-columns

This file was deleted.

2 changes: 0 additions & 2 deletions changes/12550-add-validation-for-policy-specs

This file was deleted.

1 change: 0 additions & 1 deletion changes/13064-highlighter-bug

This file was deleted.

2 changes: 0 additions & 2 deletions changes/13071-disable-fleetd-enroll-errors

This file was deleted.

1 change: 0 additions & 1 deletion changes/13082-fix-dashboard-double-scrollbar

This file was deleted.

1 change: 0 additions & 1 deletion changes/13158-nag-and-copy

This file was deleted.

1 change: 0 additions & 1 deletion changes/13158-update-macadmins-tables

This file was deleted.

1 change: 0 additions & 1 deletion changes/13205-browser-page-titles-added

This file was deleted.

1 change: 0 additions & 1 deletion changes/13205-table-links-can-open-in-new-tab

This file was deleted.

2 changes: 0 additions & 2 deletions changes/13238-client-debug-error

This file was deleted.

1 change: 0 additions & 1 deletion changes/13318-fix-query-stats

This file was deleted.

1 change: 0 additions & 1 deletion changes/13345-fix-queries-nav-bar-bug

This file was deleted.

1 change: 0 additions & 1 deletion changes/13363-match-dep-profiles

This file was deleted.

1 change: 0 additions & 1 deletion changes/13367-custom-query-frequencies

This file was deleted.

1 change: 0 additions & 1 deletion changes/13431-sso-idp-store

This file was deleted.

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

This file was deleted.

2 changes: 0 additions & 2 deletions changes/13434-paginate-policies

This file was deleted.

1 change: 0 additions & 1 deletion changes/13495-host-details-rbac

This file was deleted.

1 change: 0 additions & 1 deletion changes/13498-fix-sso-layout

This file was deleted.

1 change: 0 additions & 1 deletion changes/13521-label-alignment

This file was deleted.

4 changes: 0 additions & 4 deletions changes/13527-applying-policies-at-scale

This file was deleted.

1 change: 0 additions & 1 deletion changes/13576-fix-filter-icon

This file was deleted.

1 change: 0 additions & 1 deletion changes/13616-go-upgrade

This file was deleted.

1 change: 0 additions & 1 deletion changes/9553-scripts-audit

This file was deleted.

1 change: 0 additions & 1 deletion changes/9999-run-script-cli

This file was deleted.

1 change: 0 additions & 1 deletion changes/add-jumpcloud-to-mdm-list

This file was deleted.

1 change: 0 additions & 1 deletion changes/fix-broken-win-10-cis-queries

This file was deleted.

1 change: 0 additions & 1 deletion changes/fix-duplicate-cis-policy-queries-yml

This file was deleted.

2 changes: 0 additions & 2 deletions changes/fix-software-reinserts-when-fields-are-too-long

This file was deleted.

2 changes: 0 additions & 2 deletions changes/issue-12847-change-win-mdm-auth

This file was deleted.

2 changes: 0 additions & 2 deletions changes/issue-13305-api-run-script

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-13306-implement-get-script-results-endpoint

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-13307-run-script-on-agent

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-13372-fix-integrations-auto-removed

This file was deleted.

1 change: 0 additions & 1 deletion changes/issue-2943-update-nanomdm

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.36.0
appVersion: v4.37.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.36.0 # Version of Fleet to deploy
imageTag: v4.37.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.36.0"
default = "fleetdm/fleet:v4.37.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.36.0"
default = "fleet:v4.37.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.36.0"
fleet_tag = "v4.37.0"
}

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

set {
name = "imageTag"
value = "v4.36.0"
value = "v4.37.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.36.0")
image = optional(string, "fleetdm/fleet:v4.37.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.36.0")
image = optional(string, "fleetdm/fleet:v4.37.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.36.0"
fleet_image = "fleetdm/fleet:v4.37.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.36.0")
image = optional(string, "fleetdm/fleet:v4.37.0")
family = optional(string, "fleet")
sidecars = optional(list(any), [])
depends_on = optional(list(any), [])
Expand Down
2 changes: 1 addition & 1 deletion terraform/example/main.tf
Expand Up @@ -73,7 +73,7 @@ module "vulnprocessing" {
ecs_cluster = module.main.byo-vpc.byo-db.byo-ecs.cluster.cluster_arn
vpc_id = module.main.vpc.vpc_id
fleet_config = {
image = "fleetdm/fleet:v4.36.0"
image = "fleetdm/fleet:v4.37.0"
database = {
password_secret_arn = module.main.byo-vpc.secrets.secret_arns["${var.rds_config.name}-database-password"]
user = module.main.byo-vpc.rds.db_instance_username
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.36.0")
image = optional(string, "fleetdm/fleet:v4.37.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.36.0",
"version": "v4.37.0",
"description": "Installer for the fleetctl CLI tool",
"bin": {
"fleetctl": "./run.js"
Expand Down

0 comments on commit a745c3a

Please sign in to comment.