Commit Graph
20378 Commits
Author SHA1 Message Date
Steven Palmesano 0ae3392a4a Rename Android config profiles for consistency (#37486)
The file names should describe what they do, not the policies that they
use inside.
2025-12-19 09:43:38 -06:00
Scott Gress 1800fbfde4 Fix spacing in "update new hosts" activity (#37541)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** For #36088

Fixed formatting issue in new activity:

Before: (see missing spacing between sentences)

<img width="780" height="265" alt="image"
src="https://github.com/user-attachments/assets/05af49cc-8456-49b5-82a4-a48c58613649"
/>

After:

<img width="779" height="250" alt="image"
src="https://github.com/user-attachments/assets/89b8e4e7-8e6e-4725-b286-86985157a03e"
/>


# Checklist for submitter

## Testing

- [X] QA'd all new/changed functionality manually

For unreleased bug fixes in a release candidate, one of:

- [X] Confirmed that the fix is not expected to adversely impact load
test results
2025-12-19 09:34:11 -06:00
Gabriel Hernandez 514ac233aa add UI pagination to host mdm commands feed (#37453)
**Related issue:** Resolves #378448

This adds the UI for pagination on the host mdm commands feeds.

- [x] QA'd all new/changed functionality manually
2025-12-19 08:52:30 -05:00
github-actions[bot]andlucasmrod 124b7c6052 Update versions of fleetd components in Fleet's TUF [automated] (#37529)
Automated change from [GitHub
action](https://github.com/fleetdm/fleet/actions/workflows/fleetd-tuf.yml).

Co-authored-by: lucasmrod <lucasmrod@users.noreply.github.com>
2025-12-19 10:51:04 -03:00
Lucas Manuel Rodriguez e3ada60c6a Fix gm build (#37524) 2025-12-19 09:41:47 -03:00
fleet-releaseandmostlikelee 9b468bb0d8 Update Fleet-maintained apps (#37507)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: mostlikelee <16102903+mostlikelee@users.noreply.github.com>
2025-12-19 00:13:09 -06:00
Konstantin SykulevandScott Gress 99a56e2514 Added messaging around VPP update failures (#37083)
Due to a fundamental OS limitation with macos, when trying to update an
application via mdm, the os cannot replace app files while the app is
running. When this state is detected explicitly raise an error message
stating that the application needs to be closed prior to updating.

**Related issue:** Resolves #31972

# Checklist for submitter

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

- [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)

## Testing

- [x] Added/updated automated tests
- [x] Where appropriate, [automated tests simulate multiple hosts and
test for host
isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing)
(updates to one hosts's records do not affect another)
- [ ] QA'd all new/changed functionality manually

---------

Co-authored-by: Scott Gress <scottmgress@gmail.com>
2025-12-18 21:02:28 -06:00
Scott Gress 81f56c0678 Cherry-pick: Fix windows/linux EUA SCIM attributes (#37513) (#37515)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
Accidentally merged to the RC first, so cherry-picking back to main
here.

(cherry picked from commit dbc71576c7f950f07d2a09b75a66664bc9ac67f4)
2025-12-18 18:04:12 -06:00
George Karr f616261f59 Add engineering spec review checklist (#37333)
For #33200
2025-12-18 18:00:39 -06:00
Victor Lyuboslavsky 5f44195586 Fixing No team issues with Android certs. (#37483)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #37439

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually

For unreleased bug fixes in a release candidate, one of:

- [x] Confirmed that the fix is not expected to adversely impact load
test results

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

* **Bug Fixes**
* Fixed certificate template matching for hosts without team assignment
to properly associate with global certificate templates.

* **Tests**
* Added comprehensive test coverage for certificate template scenarios
involving hosts without team assignments.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-18 17:27:58 -06:00
jacobshandling bb92ad382f Remove width limit of OSSettingsStatusCell (#37516)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves
<img width="476" height="337" alt="Screenshot 2025-12-18 at 2 49 52 PM"
src="https://github.com/user-attachments/assets/4f3c927d-2e98-42c8-9c6c-34235667b6d2"
/>

Now:
<img width="927" height="623" alt="Screenshot 2025-12-18 at 2 48 49 PM"
src="https://github.com/user-attachments/assets/5b8e45ac-b3b2-4ec4-8513-c9f07df2473e"
/>


- [x] QA'd all new/changed functionality manually
2025-12-18 14:59:23 -08:00
jacobshandling 35a5138ea5 UI expect "delivering" and "delivered" statuses when removing Android certs (#37514)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves
https://github.com/fleetdm/fleet/issues/36683#issuecomment-3671505923

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually
2025-12-18 14:59:14 -08:00
jacobshandling d45cec571d Update disabled submit button tooltip text (#37512)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves
#https://fleetdm.slack.com/archives/C09TL65SL9W/p1766057715417079?thread_ts=1765914407.487269&cid=C09TL65SL9W

- [x] Updated tests
- [x] QA'd all new/changed functionality manually
2025-12-18 14:58:59 -08:00
Victor Lyuboslavsky 3a1e0b0db1 Prevent IT admins from adding Fleet agent manually to Software (#37504)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #37441

Treating this as unreleased Android certs bug.

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually

For unreleased bug fixes in a release candidate, one of:

- [x] Confirmed that the fix is not expected to adversely impact load
test results


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Bug Fixes

* Prevented manual addition of the Fleet agent package on Android
devices. Attempting to manually add the Fleet agent through the app
store configuration endpoint now returns an error message, as this
package is automatically managed by the system when Android MDM is
enabled. Other Android app additions remain unaffected.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-18 16:03:42 -06:00
RachelElysia 24cd9ceea4 Fleet UI: Disable save button by default until edit vpp form has been used (#37495) 2025-12-18 16:21:53 -05:00
Jahziel Villasana-Espinoza 204c5183c2 filter to only apple (vpp) apps in refresh job (#37506)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->

The `refresh_vpp_app_versions` cron job wasn't updated to take Android
apps (a type of app store app) into account, leading to errors like
these ([internal Slack
thread](https://fleetdm.slack.com/archives/C03EG80BM2A/p1765934577063429)).

This adds a simple filter to the query that fetches the VPP apps.

# Checklist for submitter

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

- [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)

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually
2025-12-18 16:17:24 -05:00
Magnus Jensen a487c19951 allow removal of config profiles when MDM is off (#37473)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #34945 

# Checklist for submitter

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

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


## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually
2025-12-18 17:14:32 -04:00
George Karr 4003ac22de gkarr gm updates pre sprint (#37446) 2025-12-18 14:55:38 -06:00
Nico b095b72bf1 Add nulmete to Software Engineer list in Orchestration product group (#37451) 2025-12-18 14:55:16 -06:00
Luke Heath dc3021bc60 Update product groups expertise areas (#37341) 2025-12-18 14:23:44 -06:00
Magnus JensenandSarah Gillespie 70ccc22671 Use same MDM unenroll endpoint for Android and Apple (#37363)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #34213

Embeds the Android service into the fleet service, so we can call
android specific methods in a shared handler.

# Checklist for submitter

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

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

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually

---------

Co-authored-by: Sarah Gillespie <73313222+gillespi314@users.noreply.github.com>
2025-12-18 15:59:46 -04:00
Sarah Gillespie 509fa5f99e Add UI loading state to turn off Android modal (#37479) 2025-12-18 13:49:43 -06:00
Allen Houchins 0703dc5e35 Add 2 new app categories: 🔐 Security and 🛠️ Utilities (#37098)
This pull request adds support for two new software categories,
"Security" and "Utilities", across the application. The changes ensure
these categories are available in the database, frontend type
definitions, UI elements, documentation, and are fully tested in both
migration and integration test suites.

**Database and Migration Updates:**
* Added "Security" and "Utilities" entries to the `software_categories`
table and updated initial data in `schema.sql`.
* Introduced a new migration
(`20251210000000_AddSecurityAndUtilitiesCategories.go`) to insert/remove
these categories, with an accompanying test to verify migration
behavior.
[[1]](diffhunk://#diff-57da59e73fff8f2ffccd167299027899614281c591b79715b7000bed0e9d8516R1-R31)
[[2]](diffhunk://#diff-5e6db34b45e83ec5cf2b9cb41e4bfd4ee934f456dd9c0ae4313a448d39319c72R1-R28)

**Frontend and Documentation Updates:**
* Updated the `SoftwareCategory` type and category lists to include
"Security" and "Utilities", ensuring they appear in the UI and are
selectable.
[[1]](diffhunk://#diff-4297079e443d574eb530c70ef48de3cab80e56f783c7b395d58c31c29be6bb0eL77-R79)
[[2]](diffhunk://#diff-405dcd4f0bd6881e4b20a75212467d13c143ddc486b5c9d29ed9035033c32361R25-R26)
* Added documentation for the new categories in `yaml-files.md`.

**Testing Enhancements:**
* Added and updated tests to verify the new categories are displayed and
handled correctly in both frontend and backend integration tests.
[[1]](diffhunk://#diff-d151ee297fdaf54f8ea7027bc46de12247c43406b464265f24ade5a49cb19e49R210-R211)
[[2]](diffhunk://#diff-bbd0c5a6bc2f9a24e633031d4c6a3f5b0be7cbfe78ef1b56cdf9a7a2c32e21e2R19358-R19365)
[[3]](diffhunk://#diff-2bd8ca2ddaad7aac0c438a2afd76a26872378249f757c9c81a31005d0e57cf1fR18447-R18460)
2025-12-18 13:26:50 -06:00
Magnus Jensen 7c59caf72a Make certificate details modal scrollable (#37493)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #33754 


https://github.com/user-attachments/assets/707b4d3f-8ab3-4008-86c6-6dc08c6764a0


# Checklist for submitter

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

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

## Testing

- [x] QA'd all new/changed functionality manually
2025-12-18 14:57:25 -04:00
Magnus Jensen 5eb51617e8 make failed and ran use their status value in mdm command feed (#37491)
<img width="537" height="282" alt="image"
src="https://github.com/user-attachments/assets/88bacc63-7707-4bc1-81d2-cb52e1c0f2eb"
/>

Shows failed now for failed commands
2025-12-18 14:25:41 -04:00
Lucas Manuel Rodriguez ded0f7f356 Move the report clipped check to happen sooner (#37436)
Resolves #36566.

I was attempting to estimate the bug and saw that it involved just a
move of the `if` clause to fix.

# Checklist for submitter

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

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

## Testing

- [X] QA'd all new/changed functionality manually.
2025-12-18 15:12:07 -03:00
Jordan Montgomery 0fcaec991f 34704 MDM Commands ordering fix (#37485)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #34704

Unreleased bug in MDM Commands feature, no changes file as such

# Checklist for submitter

If some of the following don't apply, delete the relevant line.
- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)

## Testing

- [x] Added/updated automated tests
- [x] Where appropriate, [automated tests simulate multiple hosts and
test for host
isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing)
(updates to one hosts's records do not affect another)

- [x] QA'd all new/changed functionality manually
2025-12-18 13:11:09 -05:00
Eric 5e68cf223e Website: add missing exit to get-android-devices (#37490)
Changes:
- Added a missing `notFound` exit to the `get-android-devices` action
used by the website's Android Enterprise proxy.
2025-12-18 12:10:57 -06:00
Steven Palmesano ccc75121b1 Add best practices to Solutions (#37489)
So we don't forget.
2025-12-18 12:08:56 -06:00
Sarah Gillespie 589f5e67cb Update UI for command results in host activity feed (#37417) 2025-12-18 11:52:25 -06:00
Eric ffc2dde9fc Website: Fix signup-modal scrolling (#37484)
Closes: https://github.com/fleetdm/fleet/issues/37456

Changes:
- Updated the top margin on the signup modal to keep the modal content
visible when scrolling.
2025-12-18 11:34:37 -06:00
RachelElysia d2b7f33af5 Fleet UI: Remove unsupported url params when switching to all teams (#37199) 2025-12-18 12:27:29 -05:00
jacobshandling 813fe6ffb0 Fine-tune height settings of Controls > Certificates UI (#37442)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves
#https://fleetdm.slack.com/archives/C09TL65SL9W/p1765994768794349?thread_ts=1765994698.555769&cid=C09TL65SL9W

- Bottom padding fixed
- Normal scroll behavior restored

- [x] QA'd all new/changed functionality manually
2025-12-18 09:25:34 -08:00
Victor Lyuboslavsky c78c63be70 Conditional access dropdown and copy (#37338)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #37305 

Resolves issue that conditional access modal was not visible for
self-hosted and contained wrong copy.

## Testing

- [x] QA'd all new/changed functionality manually

For unreleased bug fixes in a release candidate, one of:

- [x] Confirmed that the fix is not expected to adversely impact load
test results

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Improvements**
* "Conditional access" automation option is now available to all users
without license restrictions.
* Enhanced conditional access detection for both Okta and Microsoft
Entra identity providers.
* Improved conditional access setup process with clearer provider
information display based on your configuration.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-18 10:37:47 -06:00
fleet-releaseandallenhouchins d74706efaf Update Fleet-maintained apps (#37466)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: allenhouchins <32207388+allenhouchins@users.noreply.github.com>
2025-12-18 10:16:33 -06:00
andreasn-work 4314208dc2 Update README.md (#37476)
Updated the "Contact Us" section
2025-12-18 10:15:18 -06:00
Sarah Gillespie 4a7a890ed5 Update osquery-perf with certificate_windows query (#37431) 2025-12-18 09:48:21 -06:00
Tim Lee 1e7adcab50 Add name to host cert templates (#37444) 2025-12-18 08:48:10 -07:00
Magnus Jensen 991ddc8cb3 remove product group guides mentions in contributing docs (#37325)
I was just browsing around and saw the concept of product group guides
is gone, so just cleaning up some old links
2025-12-18 09:42:47 -06:00
fleet-releaseandmostlikelee d15759843c Update Fleet-maintained apps (#37455)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: mostlikelee <16102903+mostlikelee@users.noreply.github.com>
2025-12-18 09:42:24 -06:00
Dante Catalfamo cb0fb18fef Update UI according to feedback (#37423) 2025-12-18 10:30:25 -05:00
Victor Lyuboslavsky cfc944e49a Updated archtest to be more ergonomic (#37433)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #37241

Test changes only. Updated `archtest` to be more ergonomic. See README


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Enhanced archtest package with new API methods for more granular
dependency filtering: `IgnoreRecursively()`, `IgnoreDeps()`,
`WithTests()`, and `WithTestsRecursively()`.
  * Added `Check()` method to finalize dependency verification.

* **Documentation**
* Added comprehensive README for archtest package with usage examples
and fluent API method reference.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-18 09:28:41 -06:00
Gabriel Hernandez e5cb8b8063 update yarn.lock (#37450) 2025-12-18 14:53:27 +00:00
Magnus Jensen bc17ec54bb Ignore display_name for mobileconfig when batch uploading profiles (#37452)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #34414

# Checklist for submitter

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

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


## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually
2025-12-18 10:49:02 -04:00
RachelElysia 3b73c57124 Fleet UI: Improve edit software upload UX (#37429) 2025-12-18 09:25:25 -05:00
Gabriel Hernandez 1c591e637c add pagination metadata to get mdm commands endpoint (#37396)
**Related issue:** Resolves #37335

This adds pagination metadata to the `GET /mdm/commands` endpoint. 

- [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.
- [ ] Added/updated automated tests
- [x] QA'd all new/changed functionality manually
2025-12-18 11:53:27 +00:00
Marko Lisica c993188047 Fix paragraph in Android MDM setup documentation (#37390) 2025-12-18 12:52:53 +01:00
Victor Lyuboslavskyandjacobshandling f167aac60d Changed subject name placeholder (#37435)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #36689

Changed certificate template placeholder to:
```
CN=$FLEET_VAR_HOST_END_USER_IDP_USERNAME, O=Your Organization
```

---------

Co-authored-by: jacobshandling <61553566+jacobshandling@users.noreply.github.com>
2025-12-17 17:17:32 -06:00
Jorge Falcon 7ac24d8752 Loadtest (new) - MDM Updates (#37420)
- Adds `FLEET_DEV_MDM_APPLE_DISABLE_PUSH = 1`
- Adds `FLEET_DEV_MDM_APPLE_DISABLE_DEVICE_INFO_CERT_VERIFY = 1`
- Updates osquery_perf/README.md, providing an example fetching and
using mdm scep challenge secret.
2025-12-17 17:55:13 -05:00
Victor Lyuboslavsky 077b4442d7 Fix issue where backend was only sending new pending certs to Android app (#37425)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #36684

Fix issue where sometimes backend doesn't send all certs to Android app.
Specifically, if a cert was previously sent (but was not installed by
Android), we will not resend it if a new one came in. This is fixed. Now
we always send all type=install certs.

# Checklist for submitter

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually
2025-12-17 16:16:43 -06:00