Prepare for Fleet 4.2.0 (#1645)

This commit is contained in:
noahtalerman 2021-08-11 20:14:32 -04:00 committed by GitHub
parent 451493b1ea
commit 2df7c71749
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 41 additions and 49 deletions

View file

@ -1,3 +1,35 @@
## Fleet 4.2.0 (Aug 11, 2021)
* Add ability to simultaneously filter hosts by status (`online`, `offline`, `new`, `mia`) and by label on the **Hosts** page.
* Add ability to filter hosts by team in the Fleet UI, fleetctl CLI tool, and Fleet API. *Available for Fleet Basic customers*.
* Add ability to create a Team schedule in Fleet. The Schedule feature was released in Fleet 4.1.0. For more information on the new Schedule feature, check out the [Fleet 4.1.0 release blog post](https://blog.fleetdm.com/fleet-4-1-0-57dfa25e89c1). *Available for Fleet Basic customers*.
* Add Beta Vulnerable software feature which surfaces vulnerable software on the **Host details** page and the `GET /api/v1/fleet/hosts/{id}` API route. For information on how to configure the Vulnerable software feature and how exactly Fleet processes vulnerabilities, check out the [Vulnerability processing documentation](https://github.com/fleetdm/fleet/blob/main/docs/1-Using-Fleet/13-Vulnerability-Processing.md#vulnerability-processing).
* Add ability to see which logging destination is configured for Fleet in the Fleet UI. To see this information, head to the **Schedule** page and then select "Schedule a query." Configured logging destination information is also available in the `GET api/v1/fleet/config` API route.
* Improve the `fleetctl preview` experience by downloading Fleet's standard query library and loading the queries into the Fleet UI.
* Improve the user interface for the **Packs** page and **Queries** page in the Fleet UI.
* Add ability to modify scheduled queries in your Schedule in Fleet. The Schedule feature was released in Fleet 4.1.0. For more information on the new Schedule feature, check out the [Fleet 4.1.0 release blog post](https://blog.fleetdm.com/fleet-4-1-0-57dfa25e89c1).
* Add ability to disable the Users feature in Fleet by setting the new `enable_host_users` key to `true` in the `config` yaml, configuration file. For documentation on using configuration files in yaml syntax, check out the [Using yaml files in Fleet](https://github.com/fleetdm/fleet/tree/main/docs/1-Using-Fleet/configuration-files#using-yaml-files-in-fleet) documentation.
* Improve performance of the Software inventory feature. Software inventory is currently under a feature flag. To enable this feature flag, check out the [feature flag documentation](https://github.com/fleetdm/fleet/blob/main/docs/2-Deploying/2-Configuration.md#feature-flags).
* Improve performance of inserting `pack_stats` in the database. The `pack_stats` information is used to display "Frequency" and "Last run" information for a specific host's scheduled queries. You can find this information on the **Host details** page.
* Improve Fleet server logging so that it is more uniform.
* Fix a bug in which a user with the Observer role was unable to run a live query.
* Fix a bug that prevented the new **Home** page from being displayed in some Fleet instances.
* Fix a bug that prevented accurate sorting issues across multiple pages on the **Hosts** page.
## Fleet 4.1.0 (Jul 26, 2021)
The primary additions in Fleet 4.1.0 are the new Schedule and Activity feed features.

View file

@ -1 +0,0 @@
* Fixed refreshing manage hosts table to include current label and query after changing a host's team.

View file

@ -1,5 +0,0 @@
- Added support for getting hosts by label and by status
- Created new dropdown on manage hosts page for status
- Removed status from sidebar
- Modified url to contain status, label or both
- Modified edit and delete buttons for labels, now icons

View file

@ -1 +0,0 @@
- Fix host count bug by refactoring host counts to use built-in labels with exact label names

View file

@ -1,2 +0,0 @@
- Better detection between API sorting and front end sorting
- Fixed sorting issues across multiple pages

View file

@ -1,7 +0,0 @@
Refactor ManageQueriesPage as functional component in TypeScript
Refactor old table using TableContainer component
Enhance ActionButton component with optional icons
Update DataTable component to render table header buttons per Figma
Update Query interface with additional properties
Update Cypress e2e tests
Remove unused files

View file

@ -1 +0,0 @@
* Paid users can create, update, delete queries scheduled by team in the UI

View file

@ -1 +0,0 @@
* Refactor ManagePacksPage to new UI and components

View file

@ -1 +0,0 @@
* Users reminded of their logging destination when adding or modifying their schedules.

View file

@ -1 +0,0 @@
* Fix API call to add query_id so backend can validate observer_can_run when an observer attempts to run as a live query

View file

@ -1 +0,0 @@
Disable select platform dropdown for edit label page

View file

@ -1 +0,0 @@
* Prevent failing to store software in the case where the insert falls within a small window of time where duplicate host software rows might be inserted.

View file

@ -1 +0,0 @@
* Make logging for fleet serve more uniform.

View file

@ -1 +0,0 @@
* Preview command now downloads the standard query library from "https://raw.githubusercontent.com/fleetdm/fleet/main/docs/1-Using-Fleet/standard-query-library/standard-query-library.yml" and loads it into the console via fleet api

View file

@ -1,2 +0,0 @@
* add the `team_id` query parameter to `/api/v1/fleet/hosts` & `/api/v1/fleet/labels/{id}/hosts` which will filter the hosts by the specified team_id
* add a `--team` command line flag to fleetctl to allow filtering hosts by team i.e. `fleetctl get hosts --team=1`

View file

@ -1 +0,0 @@
* Converts all stored CPEs into their corresponding CVEs if any are present. Fixes issue 1436

View file

@ -1 +0,0 @@
* Return CPEs and CVEs for host software if detected. Fixes issue 1437

View file

@ -1 +0,0 @@
* Add logging settings to `/config` API response. This includes both the results & status logging plugins. Implements issue 1438.

View file

@ -1 +0,0 @@
* Does not re-render page to display flash message

View file

@ -1,2 +0,0 @@
* /api/v1/fleet/packs only returns packs that have nil or empty 'type' to prevent displaying global and team packs as modifiable packs
* /api/v1/fleet/packs now prevent edit/deletion of Global & Team packs

View file

@ -1 +0,0 @@
* Add team level schedules

View file

@ -1 +0,0 @@
* Observers can run queries that admins create, but not create their own. Improves errors returned and checks.

View file

@ -1 +0,0 @@
* Users can update and remove a global scheduled query with an Action dropdown

View file

@ -1 +0,0 @@
* When filtering hosts to transfer to a team, allow to filter by label, status, and query string

View file

@ -1 +0,0 @@
* Disallow target_id NULL for pack_targets to prevent issues when listing packs. This could happen because of a pack spec applied with a label name that was not existent anymore.

View file

@ -1 +0,0 @@
* Improve performance of pack statistic insertions in the database.

View file

@ -1 +0,0 @@
* In some cases, host users are not useful. Users can disable this through the enable_host_users config.

View file

@ -1 +0,0 @@
* Allow users to enable software inventory through the app config.

View file

@ -1 +0,0 @@
* Only log errors and try to process all distributed query results from hosts instead of erroring out.

View file

@ -1 +0,0 @@
* When posting usage analytics, timeout after 30secs.

View file

@ -4,8 +4,8 @@ name: fleet
keywords:
- fleet
- osquery
version: v4.1.0
version: v4.2.0
home: https://github.com/fleetdm/fleet
sources:
- https://github.com/fleetdm/fleet.git
appVersion: v4.1.0
appVersion: v4.2.0

View file

@ -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.1.0 # Version of Fleet to deploy
imageTag: v4.2.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

View file

@ -6,8 +6,8 @@ spec:
config:
decorators:
load:
- SELECT uuid AS host_uuid FROM system_info;
- SELECT hostname AS hostname FROM system_info;
- SELECT uuid AS host_uuid FROM system_info;
- SELECT hostname AS hostname FROM system_info;
options:
disable_distributed: false
distributed_interval: 10
@ -23,6 +23,8 @@ spec:
host_expiry_window: 0
host_settings:
additional_queries: null
enable_host_users: true
enable_software_inventory: true
org_info:
org_logo_url: ""
org_name: org
@ -38,7 +40,7 @@ spec:
enable_smtp: false
enable_ssl_tls: true
enable_start_tls: true
password: '********'
password: "********"
port: 587
sender_address: ""
server: ""

View file

@ -1,6 +1,6 @@
{
"name": "fleetctl",
"version": "v4.1.0",
"version": "v4.2.0",
"description": "Installer for the fleetctl CLI tool",
"bin": {
"fleetctl": "./run.js"