Skip to content

Commit

Permalink
Adding changes for Fleet v4.62.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeheath committed Jan 2, 2025
1 parent 4c463b6 commit 9d7508a
Show file tree
Hide file tree
Showing 75 changed files with 86 additions and 94 deletions.
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,58 @@
## Fleet 4.62.0 (Jan 02, 2025)

### Bug fixes

### Endpoint Operations
- Added capability to automatically generate "trigger policies" for custom software packages.
- Stop older scheduled queries from filling logs with errors
- Changed script upload endpoint (`POST /api/v1/fleet/scripts`) to automatically switch CRLF line endings to LF
- Fleshed out server response from `queries` endpoint to include `count` and `meta` pagination information.
- Updated UI queries page to filter, sort, paginate, etc. via query params in call to server.
- Updated platform filtering on queries page to refer to targeted platforms instead of compatible platforms
- Updated queries API to support above targeted platform filtering

### Device Management (MDM)
- Added license key validation on `fleetctl preview` if a license key is provided; fixes cases where an invalid license key would cause `fleetctl preview` to hang.
- Allowed team policy endpoint (`PATCH /api/latest/fleet/teams/{team_id}/policies/{policy_id}`) to receive explicit `null` as a value for `script_id` or `software_title_id` to unset a script or software installer respectively.
- Alises EAP versions of JetBrains IDEs to "last release version plus all fixes" to avoid vulnerability false positives.

### Vulnerability Management
- Added Mastodon icon and URL to server email templates.
- Added a validation to prevent label deletion if it is used to scope the hosts targeted by a software installer.
- Fixed issue where minio software was not scanned for vulnerabilities correctly because of unexpected trailing characters in the version string

### Bug fixes and improvements
- Fleet UI: Fix export to CSV from trimming leading zeros by treating those values as strings
- Send alert via SNS when a scheduled "cron" job returns errors
- SNS topic for job error alerts can be configured separately from the existing monitor alert by adding "cron_job_failure_monitoring" to sns_topic_arns_map, otherwise defaults to the using the same topic
- Fix bug when creating a label to preserve the selected team
- Add UI for scoping software via labels
- Removed server error if no private IP was found by detail_query_network_interface.
- Added ability to use secrets ($FLEET_SECRET_YOURNAME) in scripts and profiles.
- Fleet UI: Add searchable query targets and cleaner UI for uses with many teams or labels
- Increased maximum length for installer URLs specified in GitOps to 4000 characters
- Fixed a panic (and resulting failure to load CVE details) on new installs when OS versions have not been populated yet.
- Add functionality to filter host software based on label scoping.
- Add the ability to click a software row on the my device page and see the details of that software's installation on the host.
- Update fleetctl dependencies that cause warnings
- Added service annotation field to Helm Chart
- Added features to scope Fleet-maintained apps and custom packages via labels in UI, API, and CLI.
- Allowed software uninstalls and script-based host lock/unlock/wipe to run while global scripts are disabled.
- Fix policy truncation UI bug
- Add support for fleet secret validation in software installer scripts
- Added fallback to FileVersion on EXE installers when FileVersion is set but ProductVersion isn't to allow more custom packages to be uploaded
- Removed duplicate software records from homebrew casks already reported in the osquery `apps` table to address false positive vulnerabilities due to lack of bundle_identifier
- Fixed cases where showing results of an inherited query viewed inside a team would include results from hosts not on thta team by adding an optional team_id parameter to queries report endpoint (`GET /api/latest/fleet/queries/{query_id}/report`)
- Added the `labels_include_any` and `labels_exclude_any` fields to the software installer activities.
- Updated the get host endpoint to include disk encryption stats for a linux host only if the setting is enabled
- Added a descriptive error when a GitOps file contains script references that are missing paths
- Fixed CVE-2024-10004 false positive on Fleet-supported platforms (vuln is iOS-only and iOS vuln checking is not supported)
- Removed `invalid UUID` log message when validating Apple MDM UDID.
- Fixed a bug in determining sort type of query result columns by deducing that type from the data present in those columns.
- Display the correct percentage of hosts online, 0, when there are no hosts online.
- Validate fleet secrets embedded into scripts and profiles on ingestion
- Adds functionality for skipping automatic installs if the software is not scoped to the host via labels.

## Fleet 4.61.0 (Dec 17, 2024)

## Endpoint operations
Expand Down
2 changes: 0 additions & 2 deletions changes/19930-alert-on-cron-errors

This file was deleted.

5 changes: 0 additions & 5 deletions changes/21855-paginate-queries

This file was deleted.

1 change: 0 additions & 1 deletion changes/22444-gitops-script-missing-path

This file was deleted.

1 change: 0 additions & 1 deletion changes/22448-searchable-query-targets

This file was deleted.

1 change: 0 additions & 1 deletion changes/22523-cve-500

This file was deleted.

1 change: 0 additions & 1 deletion changes/22723-jetbrains-eap-versions

This file was deleted.

1 change: 0 additions & 1 deletion changes/22813-software-scope-labels

This file was deleted.

1 change: 0 additions & 1 deletion changes/22875-uninstall-with-scripts-disabled

This file was deleted.

1 change: 0 additions & 1 deletion changes/22884-license-error-fleetctl

This file was deleted.

1 change: 0 additions & 1 deletion changes/22944-homebrew-casks

This file was deleted.

2 changes: 0 additions & 2 deletions changes/23011-dynamic-column-sort-type

This file was deleted.

5 changes: 0 additions & 5 deletions changes/23238-use-secrets-in-scripts-profiles

This file was deleted.

1 change: 0 additions & 1 deletion changes/23309-mastodon-in-email-templates

This file was deleted.

2 changes: 0 additions & 2 deletions changes/23315-show-sw-install-details-on-my-device

This file was deleted.

1 change: 0 additions & 1 deletion changes/23448-maintainer-policy-automations

This file was deleted.

1 change: 0 additions & 1 deletion changes/23490-null-script-software-on-policies

This file was deleted.

1 change: 0 additions & 1 deletion changes/23541-fileversion-fallback

This file was deleted.

1 change: 0 additions & 1 deletion changes/23557-minio

This file was deleted.

1 change: 0 additions & 1 deletion changes/23579-cve-2024-10004-false-positive

This file was deleted.

1 change: 0 additions & 1 deletion changes/23611-Update-CIS

This file was deleted.

1 change: 0 additions & 1 deletion changes/23783-controls-subnav-pagination

This file was deleted.

1 change: 0 additions & 1 deletion changes/23800-host-online-pctage

This file was deleted.

1 change: 0 additions & 1 deletion changes/23803-leading-zeros-bug

This file was deleted.

1 change: 0 additions & 1 deletion changes/23886-remove-associations-on-policy-delete

This file was deleted.

1 change: 0 additions & 1 deletion changes/24006-host-query-report-team-id

This file was deleted.

1 change: 0 additions & 1 deletion changes/24025-add-label-team-bug

This file was deleted.

1 change: 0 additions & 1 deletion changes/24033-helm-customization-options

This file was deleted.

1 change: 0 additions & 1 deletion changes/24120-sw-title-id

This file was deleted.

1 change: 0 additions & 1 deletion changes/24166-script-line-endings

This file was deleted.

1 change: 0 additions & 1 deletion changes/24244-macos-encryption-verifying-query

This file was deleted.

1 change: 0 additions & 1 deletion changes/24268-update-fleetctl-deps

This file was deleted.

1 change: 0 additions & 1 deletion changes/24286-vulncheck

This file was deleted.

1 change: 0 additions & 1 deletion changes/24315-update-windows-policy-constants

This file was deleted.

1 change: 0 additions & 1 deletion changes/24334-policy-truncation

This file was deleted.

1 change: 0 additions & 1 deletion changes/24385-automatic-install-custom-packages

This file was deleted.

1 change: 0 additions & 1 deletion changes/24386-fleet-legacy-query-pack

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changes/24459-chart-serrvice-annotation

This file was deleted.

1 change: 0 additions & 1 deletion changes/24533-skip-policy

This file was deleted.

1 change: 0 additions & 1 deletion changes/24534-hide-software-2

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changes/24538-24542-UI-for-scope-software-via-labels

This file was deleted.

1 change: 0 additions & 1 deletion changes/24549-validate-script-profle-secrets

This file was deleted.

1 change: 0 additions & 1 deletion changes/24663-software-scoped-via-labels-gitops

This file was deleted.

1 change: 0 additions & 1 deletion changes/24725-no-private-ip-found

This file was deleted.

1 change: 0 additions & 1 deletion changes/24792-update-software-installer-activities

This file was deleted.

1 change: 0 additions & 1 deletion changes/24795-add-helpful-tooltip-setup-experience

This file was deleted.

1 change: 0 additions & 1 deletion changes/24899-software-installer-scripts-secrets

This file was deleted.

1 change: 0 additions & 1 deletion changes/24917-installer-url-length

This file was deleted.

1 change: 0 additions & 1 deletion changes/24961-invalid-uuid

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changes/8903c-table-text-wrapping

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.3.0
home: https://github.com/fleetdm/fleet
sources:
- https://github.com/fleetdm/fleet.git
appVersion: v4.61.0
appVersion: v4.62.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.61.0 # Version of Fleet to deploy
imageTag: v4.62.0 # Version of Fleet to deploy
podAnnotations: {} # Additional annotations to add to the Fleet pod
serviceAnnotations: {} # Additional annotations to add to the Fleet service
serviceAccountAnnotations: {} # Additional annotations to add to the Fleet service account
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.61.0"
default = "fleetdm/fleet:v4.62.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.61.0"
default = "fleetdm/fleet:v4.62.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.61.0"
version = "~> 4.62.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.61.0"
version = "~> 4.62.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.61.0"
version = "~> 4.62.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.61.0"
version = "~> 4.62.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.61.0"
version = "~> 4.62.0"
}
}
backend "s3" {
Expand Down
2 changes: 1 addition & 1 deletion terraform/addons/ses/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ No requirements.

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.61.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.62.0 |

## Modules

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.61.0")
image = optional(string, "fleetdm/fleet:v4.62.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.61.0"
image = "fleetdm/fleet:v4.62.0"
family = "fleet-vuln-processing"
sidecars = []
extra_environment_variables = {}
Expand Down
2 changes: 1 addition & 1 deletion terraform/byo-vpc/byo-db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ No requirements.

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.61.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.62.0 |

## Modules

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.61.0")
image = optional(string, "fleetdm/fleet:v4.62.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.61.0"
image = "fleetdm/fleet:v4.62.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.61.0")
image = optional(string, "fleetdm/fleet:v4.62.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.61.0"
image = "fleetdm/fleet:v4.62.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.61.0"
fleet_image = "fleetdm/fleet:v4.62.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.61.0")
image = optional(string, "fleetdm/fleet:v4.62.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.61.0"
image = "fleetdm/fleet:v4.62.0"
family = "fleet"
sidecars = []
depends_on = []
Expand Down
Loading

0 comments on commit 9d7508a

Please sign in to comment.