From 8e9a814d4b15a41bcd1cc9e13273c7d752e4c622 Mon Sep 17 00:00:00 2001 From: Noah Talerman <47070608+noahtalerman@users.noreply.github.com> Date: Thu, 24 Mar 2022 20:24:08 -0400 Subject: [PATCH] Prepare for 4.12.0 (#4797) - Update CHANGELOG - Bump versioning - Tweak documentation - Default `session_duration` to `5d` - Add extra `#` to "Team policies" section so it doesn't show up in top level nav for docs --- CHANGELOG.md | 40 +++++++++++++++++++ ...11-fleetctl-preview-cleanup-osquery-socket | 1 - changes/issue-1463-cleanup-frontend-lint | 1 - changes/issue-2716-platform-compatibility | 1 - .../issue-3059-admin-change-any-user-password | 1 - changes/issue-3267-add-team-webhook | 1 - changes/issue-3406-add-hosts-advanced | 1 - changes/issue-3432-2075-improve-live-ui | 1 - .../issue-3603-turn-on-off-all-automations | 1 - ...issue-3640-add-endpoint-download-csv-hosts | 1 - changes/issue-3849-macos-app | 3 -- .../issue-3911-kafka-rest-proxy-header-value | 1 - changes/issue-3914-device-auth-token | 1 - changes/issue-3914-fleet-desktop-orbit-table | 1 - changes/issue-3928-increase-session-duration | 1 - changes/issue-4092-fleet-desktop-ui | 1 - changes/issue-4416-add-device-auth-endpoints | 1 - changes/issue-4429-fleet-desktop-packaging | 1 - changes/issue-4448 | 1 - .../issue-4459-fix-packs-select-targets-hover | 1 - changes/issue-4499-align-buttons | 1 - changes/issue-4526-fix-react-tab-styling-bug | 1 - .../issue-4555_add_support_for_amazon_linux_2 | 1 - changes/issue-4562-admin-reset-user-password | 1 - changes/issue-4585-geolocation-support | 3 -- charts/fleet/Chart.yaml | 4 +- charts/fleet/values.yaml | 2 +- docs/Deploying/Configuration.md | 2 +- docs/Using-Fleet/REST-API.md | 2 +- tools/fleetctl-npm/package.json | 2 +- tools/terraform/gcp/variables.tf | 2 +- tools/terraform/variables.tf | 2 +- 32 files changed, 48 insertions(+), 36 deletions(-) delete mode 100644 changes/4711-fleetctl-preview-cleanup-osquery-socket delete mode 100644 changes/issue-1463-cleanup-frontend-lint delete mode 100644 changes/issue-2716-platform-compatibility delete mode 100644 changes/issue-3059-admin-change-any-user-password delete mode 100644 changes/issue-3267-add-team-webhook delete mode 100644 changes/issue-3406-add-hosts-advanced delete mode 100644 changes/issue-3432-2075-improve-live-ui delete mode 100644 changes/issue-3603-turn-on-off-all-automations delete mode 100644 changes/issue-3640-add-endpoint-download-csv-hosts delete mode 100644 changes/issue-3849-macos-app delete mode 100644 changes/issue-3911-kafka-rest-proxy-header-value delete mode 100644 changes/issue-3914-device-auth-token delete mode 100644 changes/issue-3914-fleet-desktop-orbit-table delete mode 100644 changes/issue-3928-increase-session-duration delete mode 100644 changes/issue-4092-fleet-desktop-ui delete mode 100644 changes/issue-4416-add-device-auth-endpoints delete mode 100644 changes/issue-4429-fleet-desktop-packaging delete mode 100644 changes/issue-4448 delete mode 100644 changes/issue-4459-fix-packs-select-targets-hover delete mode 100644 changes/issue-4499-align-buttons delete mode 100644 changes/issue-4526-fix-react-tab-styling-bug delete mode 100644 changes/issue-4555_add_support_for_amazon_linux_2 delete mode 100644 changes/issue-4562-admin-reset-user-password delete mode 100644 changes/issue-4585-geolocation-support diff --git a/CHANGELOG.md b/CHANGELOG.md index d62666039eb9..d35df8169cf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,43 @@ +## Fleet 4.12.0 (Mar 24, 2022) + +* Add ability to update which platform (macOS, Windows, Linux) a policy is checked on. + +* Add ability to detect compatibility for custom policies. + +* Increase the default session duration to 5 days. Session duration can be updated using the + [`session_duration` configuration option](https://fleetdm.com/docs/deploying/configuration#session-duration). + +* Add ability to see the percentage of hosts that responded to a live query. + +* Add ability for user's with [admin permissions](https://fleetdm.com/docs/using-fleet/permissions#user-permissions) to update any user's password. + +* Add [`content_type_value` Kafka REST Proxy configuration + option](https://fleetdm.com/docs/deploying/configuration#kafkarest-content-type-value) to allow + the use of different versions of the Kafka REST Proxy. + +* Add [`database_path` GeoIP configuration option](https://fleetdm.com/docs/deploying/configuration#database-path) to specify a GeoIP database. When configured, + geolocation information is presented on the **Host details** page and in the `GET /hosts/{id}` API route. + +* Add ability to retrieve a host's public IP address. This information is available on the **Host + details** page and `GET /hosts/{id}` API route. + +* Add instructions and materials needed to add hosts to Fleet using [plain osquery](https://fleetdm.com/docs/using-fleet/adding-hosts#plain-osquery). These instructions +can be found in **Hosts > Add hosts > Advanced** in the Fleet UI. + +* Add Beta support for Fleet Desktop on macOS. Fleet Desktop allows the device user to see + information about their device. To add Fleet Desktop to a macOS device, first add the + `--fleet-desktop` flag to the `fleectl package` command to generate a Fleet-osquery installer that + includes Fleet Desktop. Then, open this installer on the device. + +* Reduce the noise of osquery status logs by only running a host vital query, which populate the +**Host details** page, when the query includes tables that are compatible with a specific host. + +* Fix a bug on the **Edit pack** page in which the "Select targets" element would display the hover effect for the wrong target. + +* Fix a bug on the **Software** page in which software items from deleted hosts were not removed. + +* Fix a bug in which the platform for Amazon Linux 2 hosts would be displayed incorrectly. + ## Fleet 4.11.0 (Mar 7, 2022) * Improve vulnerability processing to reduce the number of false positives for RPM packages on Linux hosts. diff --git a/changes/4711-fleetctl-preview-cleanup-osquery-socket b/changes/4711-fleetctl-preview-cleanup-osquery-socket deleted file mode 100644 index 546984ae8966..000000000000 --- a/changes/4711-fleetctl-preview-cleanup-osquery-socket +++ /dev/null @@ -1 +0,0 @@ -* Fleetctl preview to clean up osquery socket files before running fleet-osquery. diff --git a/changes/issue-1463-cleanup-frontend-lint b/changes/issue-1463-cleanup-frontend-lint deleted file mode 100644 index e028373ee527..000000000000 --- a/changes/issue-1463-cleanup-frontend-lint +++ /dev/null @@ -1 +0,0 @@ -* Clean up as many frontend lint warnings as possible \ No newline at end of file diff --git a/changes/issue-2716-platform-compatibility b/changes/issue-2716-platform-compatibility deleted file mode 100644 index 49721ce48a26..000000000000 --- a/changes/issue-2716-platform-compatibility +++ /dev/null @@ -1 +0,0 @@ -* Add ability to detect compatibility and update which hosts are checked for a policy \ No newline at end of file diff --git a/changes/issue-3059-admin-change-any-user-password b/changes/issue-3059-admin-change-any-user-password deleted file mode 100644 index b59f76e55d7f..000000000000 --- a/changes/issue-3059-admin-change-any-user-password +++ /dev/null @@ -1 +0,0 @@ -* Allow a global admin to change anyone's password. diff --git a/changes/issue-3267-add-team-webhook b/changes/issue-3267-add-team-webhook deleted file mode 100644 index c2abb259c2ea..000000000000 --- a/changes/issue-3267-add-team-webhook +++ /dev/null @@ -1 +0,0 @@ -* Add ability to configure team failing policies webhook diff --git a/changes/issue-3406-add-hosts-advanced b/changes/issue-3406-add-hosts-advanced deleted file mode 100644 index c63bc4c0763b..000000000000 --- a/changes/issue-3406-add-hosts-advanced +++ /dev/null @@ -1 +0,0 @@ -* Update "Advanced" tab of "Add hosts" modal to include additional installer information \ No newline at end of file diff --git a/changes/issue-3432-2075-improve-live-ui b/changes/issue-3432-2075-improve-live-ui deleted file mode 100644 index d950cab4b8cf..000000000000 --- a/changes/issue-3432-2075-improve-live-ui +++ /dev/null @@ -1 +0,0 @@ -* Improved UX around live query and live policy \ No newline at end of file diff --git a/changes/issue-3603-turn-on-off-all-automations b/changes/issue-3603-turn-on-off-all-automations deleted file mode 100644 index 2c35d403983e..000000000000 --- a/changes/issue-3603-turn-on-off-all-automations +++ /dev/null @@ -1 +0,0 @@ -* Add the ability to turn on and off software automations and failing policies automations from the UI \ No newline at end of file diff --git a/changes/issue-3640-add-endpoint-download-csv-hosts b/changes/issue-3640-add-endpoint-download-csv-hosts deleted file mode 100644 index 51860d619b31..000000000000 --- a/changes/issue-3640-add-endpoint-download-csv-hosts +++ /dev/null @@ -1 +0,0 @@ -* Add support for downloading a list of hosts in CSV format diff --git a/changes/issue-3849-macos-app b/changes/issue-3849-macos-app deleted file mode 100644 index 371b8e970c04..000000000000 --- a/changes/issue-3849-macos-app +++ /dev/null @@ -1,3 +0,0 @@ -* Command `fleetctl package` to generate `.app` packaged `osqueryd` for `--type=pkg`. -* Orbit updater system to support .app.tar.gz bundles from TUF repository. -* New workflow to generate osqueryd.app.tar.gz from osquery.io for Orbit. diff --git a/changes/issue-3911-kafka-rest-proxy-header-value b/changes/issue-3911-kafka-rest-proxy-header-value deleted file mode 100644 index 621d079fb5aa..000000000000 --- a/changes/issue-3911-kafka-rest-proxy-header-value +++ /dev/null @@ -1 +0,0 @@ -* Add the ability to specify the Content Type Value for Kafka REST proxy logging plugin, this defaults to "application/vnd.kafka.json.v1+json" to not break existing integrations diff --git a/changes/issue-3914-device-auth-token b/changes/issue-3914-device-auth-token deleted file mode 100644 index 4d7152eb6d65..000000000000 --- a/changes/issue-3914-device-auth-token +++ /dev/null @@ -1 +0,0 @@ -* (Beta) Introduce `Fleet Desktop` to macOS fleet installer with a tray icon that allows accessing a user device in Fleet. diff --git a/changes/issue-3914-fleet-desktop-orbit-table b/changes/issue-3914-fleet-desktop-orbit-table deleted file mode 100644 index 9a66e45c1fc2..000000000000 --- a/changes/issue-3914-fleet-desktop-orbit-table +++ /dev/null @@ -1 +0,0 @@ -* Reduce osquery status log verbosity by only running detail queries when the relevant tables exist. diff --git a/changes/issue-3928-increase-session-duration b/changes/issue-3928-increase-session-duration deleted file mode 100644 index 19cd2bbeeba1..000000000000 --- a/changes/issue-3928-increase-session-duration +++ /dev/null @@ -1 +0,0 @@ -* Increase default session duration to 5 days diff --git a/changes/issue-4092-fleet-desktop-ui b/changes/issue-4092-fleet-desktop-ui deleted file mode 100644 index fa3c84d576c2..000000000000 --- a/changes/issue-4092-fleet-desktop-ui +++ /dev/null @@ -1 +0,0 @@ -* Fleet desktop UI for device user \ No newline at end of file diff --git a/changes/issue-4416-add-device-auth-endpoints b/changes/issue-4416-add-device-auth-endpoints deleted file mode 100644 index e6ab30aac6d9..000000000000 --- a/changes/issue-4416-add-device-auth-endpoints +++ /dev/null @@ -1 +0,0 @@ -* Add device-authenticated endpoints to retrieve read-only information about the current device. diff --git a/changes/issue-4429-fleet-desktop-packaging b/changes/issue-4429-fleet-desktop-packaging deleted file mode 100644 index 07a3b6cadc68..000000000000 --- a/changes/issue-4429-fleet-desktop-packaging +++ /dev/null @@ -1 +0,0 @@ -* (Beta) Add `--fleet-desktop` flag to fleetctl for `--type=pkg` to generate a Fleet-osquery installer for macOS with "Fleet Desktop" support. diff --git a/changes/issue-4448 b/changes/issue-4448 deleted file mode 100644 index 01e4ee7b4a21..000000000000 --- a/changes/issue-4448 +++ /dev/null @@ -1 +0,0 @@ -* Clean up software entries from removed hosts to improve consistency of software counts. diff --git a/changes/issue-4459-fix-packs-select-targets-hover b/changes/issue-4459-fix-packs-select-targets-hover deleted file mode 100644 index d158e2f42b1a..000000000000 --- a/changes/issue-4459-fix-packs-select-targets-hover +++ /dev/null @@ -1 +0,0 @@ -* Bug fix: Pack target selector has correct target highlighted on hover \ No newline at end of file diff --git a/changes/issue-4499-align-buttons b/changes/issue-4499-align-buttons deleted file mode 100644 index 132b8dd156ad..000000000000 --- a/changes/issue-4499-align-buttons +++ /dev/null @@ -1 +0,0 @@ -* Fix misaligned buttons on app settings page diff --git a/changes/issue-4526-fix-react-tab-styling-bug b/changes/issue-4526-fix-react-tab-styling-bug deleted file mode 100644 index da89ed8636be..000000000000 --- a/changes/issue-4526-fix-react-tab-styling-bug +++ /dev/null @@ -1 +0,0 @@ -* Bug fix: React tab on-focus styling \ No newline at end of file diff --git a/changes/issue-4555_add_support_for_amazon_linux_2 b/changes/issue-4555_add_support_for_amazon_linux_2 deleted file mode 100644 index 05f630557a6a..000000000000 --- a/changes/issue-4555_add_support_for_amazon_linux_2 +++ /dev/null @@ -1 +0,0 @@ -* Added support for Amazon Linux 2 diff --git a/changes/issue-4562-admin-reset-user-password b/changes/issue-4562-admin-reset-user-password deleted file mode 100644 index 4a6cc0ba0574..000000000000 --- a/changes/issue-4562-admin-reset-user-password +++ /dev/null @@ -1 +0,0 @@ -* Allow global admin to reset user passwords via `settings/users` UI \ No newline at end of file diff --git a/changes/issue-4585-geolocation-support b/changes/issue-4585-geolocation-support deleted file mode 100644 index c8652af3545e..000000000000 --- a/changes/issue-4585-geolocation-support +++ /dev/null @@ -1,3 +0,0 @@ -* Add support for geolocation via public IP -* Add public_ip to host table (default empty string) -* Add public_ip to host(s) API response \ No newline at end of file diff --git a/charts/fleet/Chart.yaml b/charts/fleet/Chart.yaml index ef8d7f223665..abc3be200d7e 100644 --- a/charts/fleet/Chart.yaml +++ b/charts/fleet/Chart.yaml @@ -4,8 +4,8 @@ name: fleet keywords: - fleet - osquery -version: v4.11.0 +version: v4.12.0 home: https://github.com/fleetdm/fleet sources: - https://github.com/fleetdm/fleet.git -appVersion: v4.11.0 +appVersion: v4.12.0 diff --git a/charts/fleet/values.yaml b/charts/fleet/values.yaml index 1ef1803cd486..8574de84e377 100644 --- a/charts/fleet/values.yaml +++ b/charts/fleet/values.yaml @@ -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.11.0 # Version of Fleet to deploy +imageTag: v4.12.0 # Version of Fleet to deploy createIngress: true # Whether or not to automatically create an Ingress ingressAnnotations: {} # Additional annotation to add to the Ingress podAnnotations: {} # Additional annotations to add to the Fleet pod diff --git a/docs/Deploying/Configuration.md b/docs/Deploying/Configuration.md index b999a78dfc24..b9e9b679de38 100644 --- a/docs/Deploying/Configuration.md +++ b/docs/Deploying/Configuration.md @@ -818,7 +818,7 @@ The amount of time that a session should last for. Valid time units are `s`, `m`, `h`. -- Default value: `24h` (24 hours) +- Default value: `5d` (5 days) - Environment variable: `FLEET_SESSION_DURATION` - Config file format: diff --git a/docs/Using-Fleet/REST-API.md b/docs/Using-Fleet/REST-API.md index 4a0dcc9e7c65..ca53d5f316dd 100644 --- a/docs/Using-Fleet/REST-API.md +++ b/docs/Using-Fleet/REST-API.md @@ -3891,7 +3891,7 @@ Where `query_id` references an existing `query`. --- -## Team policies +### Team policies - [List team policies](#list-team-policies) - [Get team policy by ID](#get-team-policy-by-id) diff --git a/tools/fleetctl-npm/package.json b/tools/fleetctl-npm/package.json index 7b8b928fb9ea..b2d135dc7f8e 100644 --- a/tools/fleetctl-npm/package.json +++ b/tools/fleetctl-npm/package.json @@ -1,6 +1,6 @@ { "name": "fleetctl", - "version": "v4.11.0", + "version": "v4.12.0", "description": "Installer for the fleetctl CLI tool", "bin": { "fleetctl": "./run.js" diff --git a/tools/terraform/gcp/variables.tf b/tools/terraform/gcp/variables.tf index 3c2745ccdc9c..f1fb7e898f54 100644 --- a/tools/terraform/gcp/variables.tf +++ b/tools/terraform/gcp/variables.tf @@ -68,5 +68,5 @@ variable "redis_mem" { } variable "image" { - default = "fleet:v4.11.0" + default = "fleet:v4.12.0" } diff --git a/tools/terraform/variables.tf b/tools/terraform/variables.tf index e1c400300ec7..60e261ebcf16 100644 --- a/tools/terraform/variables.tf +++ b/tools/terraform/variables.tf @@ -56,7 +56,7 @@ variable "database_name" { variable "fleet_image" { description = "the name of the container image to run" - default = "fleetdm/fleet:v4.11.0" + default = "fleetdm/fleet:v4.12.0" } variable "software_inventory" {