Commit Graph
16908 Commits
Author SHA1 Message Date
Allen Houchins 78ffecbaab Update communications.md (#29560)
Added tech tip for travelers. Related to
https://github.com/fleetdm/fleet/issues/29411
2025-05-28 16:40:07 -05:00
Lucas Manuel Rodriguez a674a01144 Use build date for version for local TUF orbits (#29442)
Two new improvements for local TUF after feedback from @iansltx and QA
folks:

1. The static `42` was confusing when making or sharing several builds
of locally built fleetd. Locally TUF-built version of orbit will now be:
`YY.MM.XXXXX`, e.g. `25.5.56178` (patch version is a 16-bit number made
from day, hour and minute).
2. Also prompting user to delete `test_tuf` which is usually a source of
confusion/errors.
2025-05-28 17:13:58 -03:00
jacobshandlingandJacob Shandling d51ea2279e UI: Update query automations modal (#29517)
## For #28884 

<img width="803" alt="Screenshot 2025-05-27 at 6 45 14 PM"
src="https://github.com/user-attachments/assets/f4bd431e-3df8-464b-b871-8baeba5cf86c"
/>


- [x] Changes file added for user-visible changes in `changes/`
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-05-28 13:06:33 -07:00
Noah Talerman 6d03dc3ef5 Fleet auto renews certificates (#29525)
- NDES, DigiCert, and Custom SCEP
2025-05-28 15:05:44 -04:00
Eric 41078d1814 Website: update device management testimonial order (#29538)
Closes: https://github.com/fleetdm/confidential/issues/10777

Changes:
- Updated the order of the testimonials on the device management page
and the testimonials page.
2025-05-28 13:17:12 -05:00
jacobshandlingandJacob Shandling 4b5f5e9406 UI: Update disk encryption key font (#29514)
## For #28865 

**Before**:
<img width="656" alt="Screenshot 2025-05-27 at 4 08 48 PM"
src="https://github.com/user-attachments/assets/42a97b6a-2612-47f0-8a04-ef2864a4b896"
/>

**Now**:
<img width="656" alt="Screenshot 2025-05-27 at 4 13 07 PM"
src="https://github.com/user-attachments/assets/f65c399b-16b8-498b-90ba-454333543c19"
/>


- [x] Changes file added for user-visible changes in `changes/`
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-05-28 09:44:04 -07:00
jacobshandlingandJacob Shandling b7d84bca33 UI: Query "frequency" -> "interval" (#29518)
## For #28821 

- Update UI-rendered references to `/(F|f)requency/` to refer to
`/(I|i)nterval/` instead


![ezgif-60c1b29b41ce29](https://github.com/user-attachments/assets/d2012116-bfe7-4a0c-8056-e4d3e61e623d)

- More info: Note that this PR only changes copy actually rendered in
the UI (and an associated test), and is low-risk, so can be merged and
QAed quickly. [This
branch](https://github.com/fleetdm/fleet/tree/28821-add-on-update-code)
contains updates to variables, constants, and class names, more
error-prone changes that, if review and QA capacity allow, can be PRed
for consistency between the code and the copy, but is not critical for
the desired UI updates.

- [x] Changes file added for user-visible changes in `changes/`
- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-05-28 09:40:13 -07:00
Noah TalermanandDale Ribeiro 8553643bf1 fleetd guide: updates.fleetdm.com (#29364)
Fleet changes the URL from `tuf.fleetctl.com` => `updates.fleetdm.com`

Co-authored-by: Dale Ribeiro <dale@fleetdm.com>
2025-05-28 12:14:15 -04:00
Martin Angers aebf0bfc07 DCLK: Add source column to host_certificates (#29528) 2025-05-28 11:42:11 -04:00
Sam Pfluger d55f4cca18 Remove CSA position (#29521) 2025-05-28 09:39:49 -05:00
Gabriel Hernandez 6d5e28ab34 change response status code for DELETE /host/:id/mdm to 204 (#29461)
For #29434

change status code from DELETE /hosts/:id/mdm from 200 to 204
2025-05-28 14:20:54 +01:00
Sam Pfluger 5ffb43997d Make mikermcneil maintainer of articles (#29519) 2025-05-28 05:20:44 -05:00
Tina Ong c56f382258 Added Tina Ong to Team table (#29270) 2025-05-28 00:01:59 -05:00
Irena ReedyandMike Thomas 814310cdcf Create new article: not-everything-runs-in-kubernete.mds (#29515)
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2025-05-27 21:59:41 -04:00
Noah Talerman ea59a96b4e YAML reference (#29465)
- Clarify which configuration profiles variables are available in Fleet
Premium
2025-05-27 17:57:56 -05:00
Brock WaltersandRachael Shaw 2689758d1e Update mdm-commands.md (#29498)
Cleaned up minor typos / grammar.

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2025-05-27 18:37:01 -04:00
Noah Talerman 7cf2e2de47 [API design] Add a new timestamp for MDM check-in (#29467)
Original PR [here](https://github.com/fleetdm/fleet/pull/28940) was made
to 4.69.0 reference docs branch but the [user
story](https://github.com/fleetdm/fleet/issues/17710) was shipped in
4.68.
2025-05-27 17:33:48 -05:00
Dale Ribeiro 1eb957e165 Added example for macos_setup.enable_release_device_manually (#29479)
# 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. -->

- [ ] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes
- [ ] If database migrations are included, checked table schema to
confirm autoupdate
- For new Fleet configuration settings
- [ ] Verified that the setting can be managed via GitOps, or confirmed
that the setting is explicitly being excluded from GitOps. If managing
via Gitops:
- [ ] Verified that the setting is exported via `fleetctl
generate-gitops`
- [ ] Added the setting to [the GitOps
documentation](https://github.com/fleetdm/fleet/blob/main/docs/Configuration/yaml-files.md#L485)
- [ ] Verified that the setting is cleared on the server if it is not
supplied in a YAML file (or that it is documented as being optional)
- [ ] Verified that any relevant UI is disabled when GitOps mode is
enabled
- For database migrations:
- [ ] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [ ] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [ ] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [ ] Added/updated automated tests
- [ ] Manual QA for all new/changed functionality
- For Orbit and Fleet Desktop changes:
- [ ] Make sure fleetd is compatible with the latest released version of
Fleet (see [Must
rule](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/workflows/fleetd-development-and-release-strategy.md)).
- [ ] Orbit runs on macOS, Linux and Windows. Check if the orbit
feature/bugfix should only apply to one platform (`runtime.GOOS`).
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
- [ ] For unreleased bug fixes in a release candidate, confirmed that
the fix is not expected to adversely impact load test results or alerted
the release DRI if additional load testing is needed.
2025-05-27 17:32:59 -05:00
Allen Houchinsandallenhouchins b6076c9016 Update 1Password macOS version number to 8.10.78 (#29493)
Co-authored-by: allenhouchins <allen@fleetdm.com>
2025-05-27 17:07:52 -05:00
Jorge Falcon a81d6fca33 Fixing permissions for aws-backup where policy names were flipped (#29511)
Fixed restore policies to be tied to the correct policy names
- restore -> restore vs restore -> backup
- backup -> backup vs backup -> restore

Fixing the typos. Permissions remain unchanged.
2025-05-27 18:01:17 -04:00
Luke Heath 01645f2fc9 Update handbook to reference GitHub Projects boards (#29414) 2025-05-27 15:54:30 -05:00
Jordan Montgomery 612d3de968 Mark setup experience installs as "cancelled" and later fail them when certain bulk actions happen (#29355)
Still adding tests but wanted to get this up for review of the overall
"shape" of the fix

When certain things happen like installer updates we delete pending
upcoming_activities(UA) and host_software_install(HSI) entries and need
to mark setup_experience_status_results(SESR) cancelled. When this
happens if that UA/HSI are being depended on by setup experience we need
to make sure that that setup experience result eventually gets marked
failed.

I kind of went back and forth a few times on how best to do this and
avoid race conditions. One thing I tried was looking at existence of the
UA/HSI but found that naively just trying to look at that in relation to
the SESR entry seemed to have a few race conditions that were hard to
resolve. There are a few possible states here we need to account for
such as:

un-activated, totally not yet running software install cancelled
activated but not yet running on the host software install cancelled
activated and running on the host software install cancelled before
results are completely reported back

What I eventually came around to was essentially that we want to mark
the SESR cancelled in the same transaction we delete the HSI/UA in. We
then finalize it by marking it failed and sending the activity the next
time the host fetches setupm experience results. The new cancelled
status never leaves fleet. This is a bit ugly but in my testing avoided
the race conditions and works well.

Note that to actually avoid setup experience hanging entirely we still
need to fix #29357 which encompasses several cases where the unified
queue can get completely stuck for a host

# 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. -->

- [ ] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes
- [ ] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [ ] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [ ] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [ ] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [ ] Added/updated automated tests
- [ ] Manual QA for all new/changed functionality
- For Orbit and Fleet Desktop changes:
- [ ] Make sure fleetd is compatible with the latest released version of
Fleet (see [Must
rule](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/workflows/fleetd-development-and-release-strategy.md)).
- [ ] Orbit runs on macOS, Linux and Windows. Check if the orbit
feature/bugfix should only apply to one platform (`runtime.GOOS`).
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
- [ ] For unreleased bug fixes in a release candidate, confirmed that
the fix is not expected to adversely impact load test results or alerted
the release DRI if additional load testing is needed.
2025-05-27 16:52:51 -04:00
Martin Angers 2ccfab253f Bugfix: catch-all cron job to avoid blocked upcoming activities queue (#29477) 2025-05-27 16:38:39 -04:00
Noah Talerman 8cd85ac5e4 Add research doc: account-driven user enrollment (#29469)
From the following research story:
- #27391
2025-05-27 15:19:56 -05:00
Luke Heath 63596c761e Update changelog command (#29382) 2025-05-27 15:17:47 -05:00
Martin Angers 3a879133b1 Bugfix: Activate next activity on edit/delete/batch-set software installers (#29471) 2025-05-27 16:08:08 -04:00
RachelElysia bd51c35ba6 Fleet UI: Help text button font size fix (#29489) 2025-05-27 15:52:19 -04:00
Martin Angers 142ac6ffc9 Bugfix: Activate next activity on batch-set scripts (delete/edit) (#29456) 2025-05-27 15:45:09 -04:00
Rachael Shaw e97971fc28 UI: Fix "Last seen" hover text on host list (#29499)
Copy change to fix this bug:
https://github.com/fleetdm/fleet/issues/29423

+ Sentence cases text
+ Removes unnecessary "UTC" after timeago
2025-05-27 14:19:10 -05:00
Martin Angers 17f1905470 Bugfix: Activate next activity on delete policy with associated software install/script exec (#29450) 2025-05-27 15:08:16 -04:00
Martin Angers b287dbaf9f Bugfix: Activate next activity on delete script (#29361) 2025-05-27 14:18:34 -04:00
Zach Wasserman 4a977cfff3 Add containerd_containers table to fleetd (#29384)
# Checklist for submitter

Implementation for #28315 

<!-- 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://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.
- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added/updated automated tests (automated testing seemed
infeasible)
- [x] Manual QA for all new/changed functionality (tested on Ubuntu 24)
- For Orbit and Fleet Desktop changes:
- [x] Make sure fleetd is compatible with the latest released version of
Fleet (see [Must
rule](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/workflows/fleetd-development-and-release-strategy.md)).
- [x] Orbit runs on macOS, Linux and Windows. Check if the orbit
feature/bugfix should only apply to one platform (`runtime.GOOS`).
- [x] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux. (tested on Ubuntu 24, code does not compile on other
platforms)
2025-05-27 10:55:38 -07:00
Scott Gress b7d0297d03 Update OPA dependency to v1.4.2 (#29454)
# Checklist for submitter

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

## Details

This PR updates the Open Policy Agent (github.com/open-policy-agent/opa)
to version 1.4.2, and does the necessary test updates to handle the
indirect upgrade of Viper (which no longer supports YAML 1.1).

Once this is done we can also [upgrade
NFPM](https://github.com/fleetdm/fleet). I chose not to do that in this
PR to keep it to one change at a time.
2025-05-27 11:48:38 -05:00
Gabriel HernandezandEric 89c8472bc6 bulk resend profiles guide (#29378)
For [#28764](https://github.com/fleetdm/fleet/issues/28764)

guid for the bulk resend profile feature

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2025-05-27 17:03:38 +01:00
Dante Catalfamo 5789d3f3c9 Add macOS redis cluster support (#29433) 2025-05-27 11:38:59 -04:00
Eric a69dfa5ee4 Update host vital queries in queries.yml (#29432)
Changes:
- Updated the host vital queries in queries.yml to have the changes from
https://github.com/fleetdm/fleet/pull/29360 and
https://github.com/fleetdm/fleet/pull/29280
2025-05-27 10:32:36 -05:00
Luke Heath d1f7de7240 Fix KPI script output order to match KPI sheet (#29420) 2025-05-27 10:29:36 -05:00
Irena Reedy c28dac2076 add irenareedy to humans (#29171) 2025-05-27 10:49:34 -04:00
Sam Pfluger f6dcf5c34c handbook/marketing#order-swag Fixed broken link (#29470) 2025-05-27 09:30:35 -05:00
Eric 0eb3bbd3e0 Website: Deliver contact form messages via email. (#29455)
Closes: https://github.com/fleetdm/confidential/issues/10750

Changes:
- Added a new config variable: `contactFormEmailAddress`
- updated deliver-contact-form-message to send emails to users who do
not have a Fleet Premium subscription.
2025-05-27 08:06:55 -05:00
Noah Talerman 83c29d2cc5 Add UI redirect (#29445)
Redirect for the following user story:
- #27983

Specifically [this UI change
(Figma)](https://www.figma.com/design/K9BTJ3aZAvwWBXU9N8aqGa/-27983-Fleet-Desktop-%3E-Self-service--Add-%22Update%22-actions-when-updates-are-detected-for-installed-so?node-id=5408-4684&t=2qzAG36eyoKjsBAb-1)
2025-05-26 13:50:41 -04:00
Jorge Falcon c8ee085611 Enabling s3 software-installers backups with AWS Backup for Dogfood (#29358)
- Creating AWS Backup Plan for S3
- Creating AWS Backup Selection for S3
- Creating AWS Backup Vault for S3 (Source)
- Creating AWS Backup Vault for S3 (Destination)
- Creating KMS Key for AWS Backup (Source)
- Creating KMS Key for AWS Backup (Destination)
- Added `tags = { backup = "true" }` for
fleet_config.software_installers
- Updating tf-mod-root-v1.15.0 -> tf-mod-root-v1.15.1
- Updating IAM Permissions for AWS Backup Role
2025-05-26 13:22:28 -04:00
Jake Stenger 96a068d63d Update go-to-market-groups.md (#29263) 2025-05-23 19:35:52 -05:00
Noah Talerman bc266a288f Android MDM setup: Fix wrong feature flag (#29401) 2025-05-23 19:33:17 -05:00
Eric c1a8ee8c68 Website: make masthead nav menu items clickable links (#29436)
Closes: https://github.com/fleetdm/fleet/issues/29120

Changes:
- Updated the website's masthead navigation menus to be clickable links.
2025-05-23 18:18:14 -05:00
Eric ae7dac7e2b Website: add create-historical-event helper (#29435)
Closes: https://github.com/fleetdm/confidential/issues/10718
Related to: https://github.com/fleetdm/confidential/issues/10719

Changes:
- Created a new helper
(`sails.helpers.salesforce.createHistoricalEvent`) to create Historical
event records in our CRM.
- Updated the custom hook, receive-from-clay webhook, and
create-or-update-one-newsletter-subscription action to create historical
event records using the new helper.
2025-05-23 17:59:58 -05:00
Luke Heath 32438b7316 Update CODEOWNERS (#29416) 2025-05-23 15:38:52 -04:00
RachelElysia 87576e796d Fleet UI: Consistent script naming, enable copy button (#29422) 2025-05-23 12:19:43 -04:00
Sharon Katz 103239105f Fix #27888 (#29040)
This is fixing a misinterpretation of the [CIS
document](https://drive.google.com/file/d/1Bq6GSn_wRMp2JKbYsRt51V5BXV1gizDp/view?usp=drive_link)
for Macos 15/

In the doc search for:  "show full Website". 
The Audit bash script is:
```
% /usr/bin/sudo /usr/sbin/system_profiler SPConfigurationProfileDataType |
/usr/bin/grep ShowFullURLInSmartSearchField | /usr/bin/tr -d ' '

Result on my Mac:
ShowFullURLInSmartSearchField = 1;
```
This should be interpreted as 'Any user who has this setting is ok'. Not
looking for an empty user.
We have 48 other occurrences that we will discuss outside the scope of
this issue.

QA:
Applying the profile for my main user worked.
Adding a test user
The configuration was applied to it without the need to redeploy the
profile.

--> Hence, we are good with the way CIS recommends auditing.

checking with a query finds both accounts with the proper settign:

![image](https://github.com/user-attachments/assets/258c4183-dc76-49aa-a022-63954f1733dc)



# 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://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
2025-05-23 10:19:23 -04:00
RachelElysia 6753655998 Fleet UI: Uninstall self service status change bug (#29412) 2025-05-23 09:33:44 -04:00