Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge contents of 7766-frontend and main, all conflicts resolved #14429

Merged
merged 19 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
ee365ea
Frontend: Step 1 for query caching (organize FE directories, build sa…
RachelElysia Oct 2, 2023
be0ce91
UI - Add global "Disable query reports" setting to advanced org setti…
jacobshandling Oct 4, 2023
5ed4435
Fleet UI: Surface delete previous results modals (#14257)
RachelElysia Oct 4, 2023
df2ada1
UI - Add 'Discard data' option to Save Query modal (#14284)
jacobshandling Oct 4, 2023
ab50f0f
Maintenance merge of `main` into feature branch (#14308)
jacobshandling Oct 4, 2023
11fc7ed
Fleet UI: Fix new query bugs introduced (#14309)
RachelElysia Oct 6, 2023
2adf3ce
UI – Componentize "Discard data" option and add it to Edit Query page…
jacobshandling Oct 9, 2023
a85f399
Fleet UI: Query report (table, buttons, api calls, etc) (#14325)
RachelElysia Oct 9, 2023
eb327fa
maintenance merge of `main` into feature branch (#14393)
jacobshandling Oct 9, 2023
18b80c4
13472 clipped banner (#14396)
jacobshandling Oct 9, 2023
4be39ca
Frontend: 1000 total results has tooltip (#14397)
RachelElysia Oct 9, 2023
71a0ffc
Polish & cleanup, round 1 (#14402)
jacobshandling Oct 10, 2023
c541409
Fleet UI: Small fixes (e.g. hiding last_fetched filter, hide Edit que…
RachelElysia Oct 10, 2023
a6578ed
final maintenance merge of `main` (#14423)
jacobshandling Oct 10, 2023
fb494ca
Merge branch '7766-frontend' into 7766-backend-frontend
Oct 10, 2023
bbebbc5
run make-dump-test-schema
Oct 10, 2023
d3b65bd
update timestamp
Oct 10, 2023
0422254
update timestamps 2
Oct 10, 2023
06ec117
make dump-test-schema
Oct 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ go.mod @fleetdm/go
#
# (see website/config/custom.js for DRIs of other paths not listed here)
##############################################################################################
/website/views/pages/pricing.ejs @mikermcneil # « CEO is DRI for pricing
/handbook/company/pricing-features-table.yml @mikermcneil # « CEO is current DRI for features table

##############################################################################################
Expand Down
5 changes: 3 additions & 2 deletions articles/fleet-4.37.0.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Fleet 4.37.0 | Remote script execution & Puppet support.
# Fleet 4.37.0 | Puppet support.

![Fleet 4.37.0](../website/assets/images/articles/fleet-4.37.0-1600x900@2x.png)

Expand All @@ -13,11 +13,12 @@ For upgrade instructions, see our [upgrade guide](https://fleetdm.com/docs/deplo
* Puppet support
* Web user interface improvements

<!--
### Introducing cross-platform script execution

_Available in Fleet Premium and Fleet Ultimate_

Fleet adds a significant new feature, allowing IT administrators and security engineers to execute shell scripts across macOS, Windows, and Linux. This addition streamlines processes, offers root-level security control, and enables swift, real-time remediation and investigation. Learn more about Fleet's [cross-platform script execution](introducing-cross-platform-script-execution).
Fleet adds a significant new feature, allowing IT administrators and security engineers to execute shell scripts across macOS, Windows, and Linux. This addition streamlines processes, offers root-level security control, and enables swift, real-time remediation and investigation. <!-- Learn more about Fleet's [cross-platform script execution](introducing-cross-platform-script-execution). -->


### Vulnerability dashboard
Expand Down
1 change: 0 additions & 1 deletion assets/images/phone-home.svg

This file was deleted.

1 change: 1 addition & 0 deletions changes/12927-disk-encryption-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Deprecate `mdm.macos_settings.enable_disk_encryption` in favor of `mdm.enable_disk_encryption`
4 changes: 4 additions & 0 deletions changes/12932-bitlocker-api-updates
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Added `GET /mdm/disk_encryption/summary` endpoint to get the disk encryption summary for macOS and
Windows devices.
- Added `os_settings` and `os_settings_disk_encryption` filters to `GET /hosts`, `GET /hosts/count`,
`GET /api/v1/fleet/labels/{id}/hosts` endpoints to filter hosts by OS settings.
1 change: 1 addition & 0 deletions changes/12933-bitlocker-host-details-api
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Added `mdm.os_settings` to `GET /api/v1/hosts/{id}` response.
1 change: 1 addition & 0 deletions changes/14286-detail-query-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Fixed a bug that would cause live queries to stall if a detail query override was set for a team.
1 change: 1 addition & 0 deletions changes/bug-13894-failing-policies-styling
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Fix styling for host details/device user failing policies call out
1 change: 1 addition & 0 deletions changes/issue-13953-changes-to-controls-page-for-bitlocker
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- change Controls/Disk Encryption and host details page to include windows bitlocker information.
1 change: 1 addition & 0 deletions changes/issue-13954-orbit-disk-encryption-key
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Added the `POST /api/fleet/orbit/disk_encryption_key` endpoint for Windows hosts to report the bitlocker encryption key.
1 change: 1 addition & 0 deletions changes/issue-14007-support-get-windows-encryption-key
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Added support to return the decrypted disk encryption key of a Windows host.
3 changes: 2 additions & 1 deletion cmd/fleet/cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"github.com/fleetdm/fleet/v4/server/contexts/license"
"github.com/fleetdm/fleet/v4/server/datastore/mysql"
"github.com/fleetdm/fleet/v4/server/fleet"
"github.com/fleetdm/fleet/v4/server/mdm"
apple_mdm "github.com/fleetdm/fleet/v4/server/mdm/apple"
"github.com/fleetdm/fleet/v4/server/policies"
"github.com/fleetdm/fleet/v4/server/ptr"
Expand Down Expand Up @@ -852,7 +853,7 @@ func verifyDiskEncryptionKeys(
if key.UpdatedAt.After(latest) {
latest = key.UpdatedAt
}
if _, err := apple_mdm.DecryptBase64CMS(key.Base64Encrypted, cert.Leaf, cert.PrivateKey); err != nil {
if _, err := mdm.DecryptBase64CMS(key.Base64Encrypted, cert.Leaf, cert.PrivateKey); err != nil {
undecryptable = append(undecryptable, key.HostID)
continue
}
Expand Down
16 changes: 8 additions & 8 deletions cmd/fleetctl/apply_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1043,13 +1043,13 @@ spec:
foo: qux
name: Team1
mdm:
enable_disk_encryption: false
macos_updates:
minimum_version: 10.10.10
deadline: 1992-03-01
macos_settings:
custom_settings:
- %s
enable_disk_encryption: false
secrets:
- secret: BBB
`, mobileConfigPath))
Expand All @@ -1061,9 +1061,9 @@ spec:
require.Equal(t, "[+] applied 1 teams\n", runAppForTest(t, []string{"apply", "-f", name}))
assert.JSONEq(t, string(json.RawMessage(`{"config":{"views":{"foo":"qux"}}}`)), string(*savedTeam.Config.AgentOptions))
assert.Equal(t, fleet.TeamMDM{
EnableDiskEncryption: false,
MacOSSettings: fleet.MacOSSettings{
CustomSettings: []string{mobileConfigPath},
EnableDiskEncryption: false,
CustomSettings: []string{mobileConfigPath},
},
MacOSUpdates: fleet.MacOSUpdates{
MinimumVersion: optjson.SetString("10.10.10"),
Expand Down Expand Up @@ -1096,9 +1096,9 @@ spec:
require.True(t, ds.NewJobFuncInvoked)
// all left untouched, only setup assistant added
assert.Equal(t, fleet.TeamMDM{
EnableDiskEncryption: false,
MacOSSettings: fleet.MacOSSettings{
CustomSettings: []string{mobileConfigPath},
EnableDiskEncryption: false,
CustomSettings: []string{mobileConfigPath},
},
MacOSUpdates: fleet.MacOSUpdates{
MinimumVersion: optjson.SetString("10.10.10"),
Expand Down Expand Up @@ -1128,9 +1128,9 @@ spec:
require.Equal(t, "[+] applied 1 teams\n", runAppForTest(t, []string{"apply", "-f", name}))
// all left untouched, only bootstrap package added
assert.Equal(t, fleet.TeamMDM{
EnableDiskEncryption: false,
MacOSSettings: fleet.MacOSSettings{
CustomSettings: []string{mobileConfigPath},
EnableDiskEncryption: false,
CustomSettings: []string{mobileConfigPath},
},
MacOSUpdates: fleet.MacOSUpdates{
MinimumVersion: optjson.SetString("10.10.10"),
Expand Down Expand Up @@ -2885,7 +2885,7 @@ spec:
macos_settings:
enable_disk_encryption: true
`,
wantErr: `Couldn't update macos_settings because MDM features aren't turned on in Fleet.`,
wantErr: `Couldn't edit enable_disk_encryption. Neither macOS MDM nor Windows is turned on`,
},
{
desc: "app config macos_settings.enable_disk_encryption false",
Expand Down
Loading
Loading