Commit graph

12380 commits

Author SHA1 Message Date
Martin Angers
943a4566f4
Fix the windows-remove-fleetd.ps1 script so that the agent can be reinstalled (#19643) 2024-06-12 09:34:57 -04:00
Martin Angers
a154f4ca04
Improve handling of timeouts and maximum size for the upload software installer endpoint (#19657) 2024-06-12 09:33:25 -04:00
dependabot[bot]
5aa5750566
Bump braces from 3.0.2 to 3.0.3 in /ee/fleetd-chrome (#19676) 2024-06-11 16:53:29 -07:00
dependabot[bot]
9c4b248cea
Bump braces from 3.0.2 to 3.0.3 (#19677) 2024-06-11 16:52:58 -07:00
github-actions[bot]
2a1ace1ed2
Update versions of fleetd components in Fleet's TUF [automated] (#19678)
Automated change from [GitHub
action](https://github.com/fleetdm/fleet/actions/workflows/fleetd-tuf.yml).

Co-authored-by: lucasmrod <lucasmrod@users.noreply.github.com>
2024-06-11 20:36:23 -03:00
Dave Herder
6c44a12a9e
Fix dead rotating enroll secrets guide link (#19667) 2024-06-11 15:56:20 -07:00
Lucas Manuel Rodriguez
606635b131
Release fleetd 1.26.0 (#19673)
- **Release fleetd 1.26.0**

---------

Co-authored-by: Sharon Katz <121527325+sharon-fdm@users.noreply.github.com>
2024-06-11 19:51:57 -03:00
Drew Baker
a035752a9b
Adding macos-system-maintenance-script to workstations canary 🐣 team (#19675)
Adding script that changes macOS background to
https://fleetdm.com/images/demo/fleet-system-maintenance.png and then
changes back to the original desktop.

Added reference to the script in the workstations canary team.
2024-06-11 18:47:04 -04:00
Drew Baker
09fb6cf11e
Add system maintenance background (#19663)
Adding system maintenance wallpaper background for sales demo purposes
2024-06-11 18:27:52 -04:00
Noah Talerman
436aaf1eaa
Release QA issue template (#19631)
- Test the migration workflow each release
2024-06-11 18:14:43 -04:00
Drew Baker
c716c5d21a
Add system maintenance policy to workstations canary (#19664)
Adding system maintenance policy to Workstations canary 🐣 team for demo
purposes.

---------

Co-authored-by: Luke Heath <luke@fleetdm.com>
2024-06-11 18:04:13 -04:00
Lucas Manuel Rodriguez
1a475b857c
Move changes from orbit to fleet (#19672)
Moving changes file to fleet (PR:
4571b540fb)
2024-06-11 19:03:16 -03:00
Noah Talerman
99bf325244
Update copy for "Disable generative AI features" (#19669) 2024-06-11 14:59:57 -07:00
Noah Talerman
08c5867260
Update segment hosts (teams) docs (#19589)
- Add Fleet's best practice
2024-06-11 17:50:33 -04:00
Nathanael Holliday
bdeed6c42b
Update security-policies.md (#19504) 2024-06-11 14:37:40 -07:00
Jacob Shandling
4197076b16
fleetd tcc_access table: handle non-existent user tcc.db (#19660)
## Follow up to #19355 

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-06-11 13:40:59 -07:00
Lucas Manuel Rodriguez
7c427c8ee8
Revert "Update pmset_darwin.go" (to reduce testing of 1.26.0) (#19661)
This reverts commit aa7a2689f1.
2024-06-11 17:19:19 -03:00
Victor Lyuboslavsky
e4b79fecda
Updated changes file for 19332: clear secrets with gitops. (#19656)
Updated changes file for 19332: clear secrets with gitops.
2024-06-11 14:11:25 -05:00
Brock Walters
0220f8fb8c
Update pmset_darwin.go (#19639)
From the pmset man page:

-g custom displays custom settings for all power sources.

i.e., pmset -g is incomplete. 

What would be even better is pmset -g everything which outputs results
from all -g options but the schema of this data is inconsistent (it's
not all key/vals) so would probably require more work.
2024-06-11 14:30:09 -04:00
RachelElysia
99f431f8d7
Fleet UI: Host details page > policies improvements (#19483) 2024-06-11 14:27:43 -04:00
Victor Lyuboslavsky
05eb338561
Enable gitops to create teams with no enroll secrets, or clear enroll secrets for an existing team (#19616)
Enable gitops to create teams with no enroll secrets, or clear enroll
secrets for an existing team
#19332 

`fleetctl apply` also gains this extra functionality. In `fleetctl
apply` secrets will not be change if one of the following:
- secrets is missing from yml
- They are blank in yml, like: `secrets:`
- They are null in yml, like: `secrets: null`

They will only be cleared with `fleetctl apply` if the user explicitly
sets them to an empty array, like:
- `secrets: []`

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-06-11 13:20:32 -05:00
Roberto Dip
33439620bd
Add missing changes file for #19500 (#19655)
I added this but forgot to commit it 🤦
2024-06-11 15:18:11 -03:00
Eric
44680cbe15
(2024-06-11) Regenerate osquery_fleet_schema.json (#19653)
Closes: #19611

Changes:
- Regenerated `schema/osquery_fleet_schema.json`
2024-06-11 11:37:30 -05:00
Dave Herder
94c1fac5e6
fix broken trust page link - subprocessors (#19629) 2024-06-11 09:21:28 -07:00
Brock Walters
c9ebab7cac
Update package_install_history.yml (#19635)
Update package_install_history per #16993
2024-06-11 11:56:22 -04:00
Brock Walters
7698bde029
Update etc_hosts.yml (#19640)
added backticks / fixed width font for file paths
2024-06-11 11:44:07 -04:00
Brock Walters
6e0ef1f446
Create pipes.yml (#19638)
Create pipes table per #16993

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-11 11:43:54 -04:00
Brock Walters
d69a4406a5
Update platform_info.yml (#19637)
Updates to Update platform_info table per #16993
2024-06-11 11:30:43 -04:00
Brock Walters
b45dbdc58e
Update package_bom.yml (#19634)
Updates to the package_bom table per #16993
2024-06-11 11:13:23 -04:00
RachelElysia
48884b0ae3
Fleet UI: Disabled styling fixes (#19614) 2024-06-11 11:11:40 -04:00
Dante Catalfamo
ecef0d4263
fleetd_logs table (#19489)
#18234
2024-06-11 11:02:50 -04:00
Marko Lisica
bcfc93ec22
Update "Enroll now" copy on AppleAutomaticEnrollmentPage.tsx (#19642)
Apple Business Manager changed sign up CTA copy and it's outdated in
instructions for automatic enrollment in our UI.
2024-06-11 16:26:28 +02:00
Martin Angers
6dd365f266
Fix scripts that block execution of subsequent scripts when timing out on Windows (#19485) 2024-06-11 09:21:57 -04:00
Martin Angers
dec9bc53e3
Fix code linting issue where a slice was created non-empty and appended-to (#19490) 2024-06-11 08:55:07 -04:00
Martin Angers
96c8139c02
Fix a panic when downloading a software installer that exists in the DB but not in the storage (#19527) 2024-06-11 08:53:41 -04:00
Gabriel Hernandez
de0562a686
UI code cleanup and tests for self service feature (#19487)
various code cleanup tasks for the self service UI. Also adds some tests
for self service.


- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-06-11 12:56:50 +01:00
Gabriel Hernandez
30553cecc3
fix icon misalignments on dashboard cards (#19610)
relates to #19555

This fixes various icon misalignments on the dashboard page.

**before:**


![image](https://github.com/fleetdm/fleet/assets/1153709/0738c8a3-88c7-481b-8675-fdeb5713de78)

**after:**


![image](https://github.com/fleetdm/fleet/assets/1153709/25bc995a-644e-4310-b32d-09d39f28960c)

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
2024-06-11 12:55:25 +01:00
Gabriel Hernandez
917e83e2ff
change TextCell so that we are rendering '0' value as a number and re… (#19441)
relates to #19433

Makes the rendering of empty text cell values consistent. We also want
to render the '0' value as a number instead of the default value `---`
with greyed styles.

**Before:**


![image](https://github.com/fleetdm/fleet/assets/1153709/7c0ecb99-409d-4698-bb6f-083245fb3919)

**After:**


![image](https://github.com/fleetdm/fleet/assets/1153709/d7da74a7-3492-4672-98ea-f810dc0038d7)

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Sarah Gillespie <73313222+gillespi314@users.noreply.github.com>
2024-06-11 12:54:24 +01:00
Luke Heath
df16d76565
Add fleet_calendar_periodicity to dogfood environment (#19633)
From this PR: https://github.com/fleetdm/fleet/pull/19559

---------

Co-authored-by: Robert Fairburn <8029478+rfairburn@users.noreply.github.com>
2024-06-10 15:15:36 -07:00
Luke Heath
fd1500747c
Update macos MDM migration demo policy (#19632) 2024-06-10 14:49:42 -07:00
Jacob Shandling
3f9c685bfc
Add disclaimer about default macos openssl binary (#19623)
See https://fleetdm.slack.com/archives/C019WG4GH0A/p1718042699503069

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-06-10 14:42:20 -07:00
JD
3fa3f507b5
Article: Fleet 4.51.0 release (#19630) 2024-06-10 14:24:37 -07:00
Eric
aa60ce0537
Website: Update modals on mobile safari (#19628)
Related to: https://github.com/fleetdm/fleet/issues/19584
Closes: https://github.com/fleetdm/fleet/issues/19624

Changes:
- Updated the modal component to remove a workaround for an ios 11 bug
that has been resolved in the versions of IOS that the Fleet website
supports
2024-06-10 15:24:23 -05:00
RachelElysia
7a4a3c4939
Fleet UI: Fix dot problem so UI renders responses for columns with dot notation (#19528) 2024-06-10 16:21:58 -04:00
Lucas Manuel Rodriguez
01dd0c7c4d
Update osquery flags to 5.12.2 (#19338)
#17375

Updating the osquery flags for 5.12.2
And making the changes so that we can just run `cd server/fleet/ && go
generate` on a macOS host every time we need to do this.

Manual tested by setting `logger_tls_backoff_max` in Fleet agent
settings (which is a 5.12.0 flag).

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Victor Lyuboslavsky <victor.lyuboslavsky@gmail.com>
2024-06-10 17:02:49 -03:00
Lucas Manuel Rodriguez
3dbdbc1bcf
Add support for iOS/iPadOS to osquery-perf (#19522)
#18119

- [X] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.

Sample on how to simulate 50 iPads and 50 iPhones:
```sh
go run ./cmd/osquery-perf -host_count 100 -os_templates iphone_14.6.tmpl:50,ipad_13.18.tmpl:50 -mdm_scep_challenge <...>
```
2024-06-10 17:02:35 -03:00
Lucas Manuel Rodriguez
a37d0692b1
Fix fleetctl preview bug caused by creating enroll secrets (#19497)
#19129

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [X] Manual QA for all new/changed functionality
2024-06-10 16:49:59 -03:00
Lucas Manuel Rodriguez
7eb3628fe6
Support RPM upgrades on fleetd packages (#19494)
#18534

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [X] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [X] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [x] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2024-06-10 16:49:45 -03:00
Lucas Manuel Rodriguez
5f65ea831c
Disable AI features on non-new installations upgrading to 4.51.X (#19482)
#19365

Assuming we release this fix in 4.51.0:
- Migration from a version without the feature (< 4.50.0) to 4.51.0:
Should disable (set `ai_features_disabled=true`).
- Migration from a version with the feature (>= 4.50.X < 4.51.0) to
4.51.0: Should keep `ai_features_disabled` as-is.
- New installation of Fleet: Should come with AI features enabled
(`ai_features_disabled=false`).

From
https://github.com/fleetdm/fleet/issues/19365#issuecomment-2145825363.

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [X] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [X] Manual QA for all new/changed functionality
2024-06-10 16:49:27 -03:00
Lucas Manuel Rodriguez
3e19cd90a9
Log warning when hosts enroll with duplicate hardware UUIDs (#19475)
#16393

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [X] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [X] Added/updated tests
- [X] Manual QA for all new/changed functionality
2024-06-10 16:48:05 -03:00