Commit Graph
16421 Commits
Author SHA1 Message Date
github-actions[bot]andjahzielv cce0537f73 Update Fleet-maintained apps (#28308)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: jahzielv <19838370+jahzielv@users.noreply.github.com>
2025-04-16 16:40:46 -05:00
Lucas Manuel Rodriguez 5da0008872 Fix code scanning alert for not pinned actions (#28305)
Fixes https://github.com/fleetdm/fleet/security/code-scanning/1381.
2025-04-16 16:35:13 -05:00
Jahziel Villasana-Espinoza 8246e4013c prevent new host software that is a re-name of existing software from being processed as regular new software (#28286)
> For #28264 

# 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] Added/updated automated tests
- [x] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [x] Manual QA for all new/changed functionality
- [x] 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-04-16 16:17:59 -04:00
Luke Heath 2e63486ddf Add call out about timeboxing engineering input if necessary (#28303) 2025-04-16 15:22:47 -04:00
Lucas Manuel Rodriguez 243ca206bf Fix tagging of fleetdm/fleet and fleetdm/fleetctl when releasing (#28251)
For #26988.
2025-04-16 15:48:47 -03:00
Victor Lyuboslavsky ce9467070e Move backend patterns.md to docs/Contributing (#28243)
As discussed in a recent Backend sync, moving patterns.md to
docs/Contributing
2025-04-16 13:36:14 -05:00
Lucas Manuel Rodriguez 68ee136e3b Release osqueryd 5.17.0 (#28294) 2025-04-16 15:25:26 -03:00
Noah Talerman 7aa47f425c Product groups handbook (#28295) 2025-04-16 13:04:10 -05:00
RachelElysia 3cf9202e39 Fleet UI: Added hover cursors to checkbox and radio components (#28113) 2025-04-16 13:29:08 -04:00
Robert Fairburn 8ff1f8c825 Update SES module in dogfood to latest (#28289) 2025-04-16 12:04:30 -05:00
Dante Catalfamo f59713b7ce Removed indicator for background LUKS validation (#28218)
#25700
2025-04-16 12:25:41 -04:00
Lucas Manuel Rodriguez 3c86055139 Add wait until fleet is responding (#28241)
For #26349.
2025-04-16 13:11:03 -03:00
Noah Talerman e292e19f90 Product groups handbook: when bugs are feature requests (#28271) 2025-04-16 11:09:57 -05:00
Noah Talerman 799d4d0dd7 Product groups handbook: fix broken link (#28281) 2025-04-16 11:09:20 -05:00
Janis Watts abb4423549 Update fast track for fleeties section (#28248) 2025-04-16 11:07:30 -05:00
Scott Gress 03449b3a71 Remove button variant prop from Conditional Access page (#28290)
Support for this property was removed in
https://github.com/fleetdm/fleet/pull/28245, which merged just before
https://github.com/fleetdm/fleet/pull/27982. It's now causing linting
errors. I confirmed that the Save button looks the same without it.

<img width="793" alt="image"
src="https://github.com/user-attachments/assets/f3357cd2-1c4f-4c91-8c2e-e56797fb86e9"
/>
2025-04-16 10:58:25 -05:00
Scott Gress 183d0d8150 Update SQL parser to handle more modern syntax (#28211)
For #26366

# 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/Committing-Changes.md#changes-files)
for more information.

# Details

This PR fixes an issue where the SQL parser in the UI doesn't recognize
window functions like `OVER()` and marks the SQL as having syntax
errors. The fix here is to update to a more modern parsing library. This
involved updating some AST-parsing code we have for determining which
tables are used in a query, for the purposes of feeding autocomplete and
determining query compatibility.

# Testing

I tested this with the query mentioned in #26366 in Chrome, Firefox and
Safari on MacOS. I also added new unit tests for our SQL helper
functions.

# Notes

During testing I discovered that we were bundling two versions of the
ACE editor into our frontend package. By upgrading one version by a
couple of patches to make the two dependencies equal, we chop out ~300k
from our bundle.
2025-04-16 10:10:52 -05:00
Scott Gress dc3edfb3c7 Fx query page clearing selection after load (#28228)
# 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/Committing-Changes.md#changes-files)
for more information.

# Details

This PR fixes an issue where any selection made in the table on the
Manage Queries page would be cleared a few seconds after the page
loaded. The issue was due to a re-render happening after the `staleTime`
period elapsed, coupled with an array that was being re-created on every
render.
2025-04-16 10:10:21 -05:00
Lucas Manuel RodriguezandSharon Katz 895194d63b Add scanning to released images and process to track vulnerabilities (#28087)
For #25902.

---------

Co-authored-by: Sharon Katz <121527325+sharon-fdm@users.noreply.github.com>
2025-04-16 11:50:10 -03:00
Gabriel Hernandez 83a358f588 fix showing add user button on user card on host details page (#28279)
correctly conditionally show the "add user" button on the users card on
the host details page
2025-04-16 15:49:33 +01:00
github-actions[bot]andjahzielv 7c07007018 Update Fleet-maintained apps (#28282)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: jahzielv <19838370+jahzielv@users.noreply.github.com>
2025-04-16 09:07:39 -05:00
Konstantin Sykulev 56866dc78e Fixed searching with VulnerableOnly filter (#28277)
https://github.com/fleetdm/fleet/issues/28250
- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] Added/updated automated tests
- [x] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [x] Manual QA for all new/changed functionality
- [x] 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-04-16 09:02:24 -05:00
Konstantin SykulevandIan Littman c0e3acee11 Corrected available for install software that is vulnerabilities (#28269)
https://github.com/fleetdm/fleet/issues/28203

If software has not been installed on the host but has vulnerabilities
it should not be returned when filtering by "VulnerableOnly"


- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] Added/updated automated tests
- [x] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [x] Manual QA for all new/changed functionality
- [x] 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.

---------

Co-authored-by: Ian Littman <iansltx@gmail.com>
2025-04-16 09:01:34 -05:00
RachelElysia 7f71866571 FE: Button renaming, better storybook view, remove unused code (#28245) 2025-04-16 09:56:09 -04:00
Gabriel Hernandez a894d41c2f refresh host details on cancling lock or wipe activities for linux (#28234)
quick fix to refresh host details for linux hosts for canceling lock or
wipe activities.
2025-04-16 10:18:01 +01:00
Gabriel Hernandez 97d0611b92 Fix host upcoming activites showing wrong created at date in tooltip (#28242)
For #27775

fixes an issue where the host upcoming activities were showing the
incorrect created at dates in the tooltip.

<!-- 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`.
- [x] Manual QA for all new/changed functionality
2025-04-16 10:17:48 +01:00
Lucas Manuel Rodriguez ad25129a8d Update tools/tuf-status for windows-arm64 (#28232)
For #27275.
2025-04-15 19:04:46 -03:00
github-actions[bot]andjahzielv c7ad81dc0f Update Fleet-maintained apps (#28270)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: jahzielv <19838370+jahzielv@users.noreply.github.com>
2025-04-15 16:32:39 -05:00
Adam Anklewicz 46faa5ab4c Adding Toronto Mac Admins to meetups page (#28239)
Saw the meetups page and thought I'd add Toronto, as Fleet has visited a
few times and sponsored a few times.

# 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/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
- [ ] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [ ] 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/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-04-15 16:28:37 -05:00
jacobshandlingandJacob Shandling f58519914b UI: Conditional access - Microsoft Entra (#27982)
_Note - currently feature flagged. Build frontend with
`ALLOW_CONDITIONAL_ACCESS=true NODE_ENV=development yarn run webpack
--progress --watch` to enable this feature. Also, all of this
functionality depends on the new `config.license.managed_cloud` being
true, so you'll need to mock that data somehow. [This
branch](https://github.com/fleetdm/fleet/tree/27043-fake-data) has the
appropriate fake data for testing_

## For #27043, #27864

### Build front end for Fleet's integration with Microsoft Entra,
allowing conditional preventtion of single sign-on for hosts failing any
policies on a team

#### Trigger the integration

![trigger](https://github.com/user-attachments/assets/4578568a-f64a-4390-83d9-fbec751d4b14)

#### Triggered, but configuration still not verified
<img width="1348" alt="√ not-verified-return-to-prefilled-form"
src="https://github.com/user-attachments/assets/44d0c21f-2554-40a8-9158-d1107cff2d09"
/>

#### Verified, short and long tenant ids:

![ezgif-75f82492180d28](https://github.com/user-attachments/assets/015f3605-81e8-463a-be74-07bab99d9724)

#### Verified –> Deleted
![√ verified - delete -
deleted](https://github.com/user-attachments/assets/44b8ba70-49c9-43e7-be54-8474756a5b50)

#### Enable for policies of a team
![√
enable-for-team](https://github.com/user-attachments/assets/9454b0da-059d-4991-a3ff-14e74257a3a7)

#### Activities
<img width="886" alt="√ activities"
src="https://github.com/user-attachments/assets/d21e6185-c2f2-40b2-9c69-9b92fab58766"
/>

#### Unavailable for self-hosted Fleet instances:

![no-access-self-hosted](https://github.com/user-attachments/assets/56213522-b721-472f-9174-c8dac0df61f3)

#### Premium only
![√
premium-only](https://github.com/user-attachments/assets/97373960-6b38-458b-be37-4c3868469182)


- [x] Changes file added for user-visible changes in `changes/`
- [x] Added/updated automated tests
- [x] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [ ] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-04-15 13:55:07 -07:00
Noah Talerman f4ffaf0d07 GitOps reference: add links for configuration profile variables (#28260)
Link to GitLab and Apple docs
2025-04-15 14:39:01 -05:00
Sarah Gillespie 1758641677 Update API message for Windows MDM not configured error (#28247) 2025-04-15 13:52:17 -05:00
Victor Lyuboslavsky 99a6f42ca9 Added .well-known/com.apple.remotemanagement (#28256)
For #27391 

Needed for research into account-based iOS BYOD enrollment.
2025-04-15 13:34:23 -05:00
Allen Houchinsandallenhouchins 555959178d Update 1Password macOS version number to 8.10.72 (#28257)
Co-authored-by: allenhouchins <allen@fleetdm.com>
2025-04-15 13:15:56 -05:00
Allen Houchins 2d4a733883 Updated webhook settings (#28252)
Related to this: https://github.com/fleetdm/fleet/issues/27629
2025-04-15 13:05:30 -05:00
Marko LisicaandRachael Shaw 57d73fcd6c End user authentication wasn't documented as subsection of MDM under PATCH /config endpoint (#28244)
`end_user_authentication` isn't documented as all other endpoints under
`mdm` in `PATCH /config` endpoint.

I also removed `issuer_uri` as this isn't implemented to this endpoint.

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2025-04-15 20:00:05 +02:00
Victor Lyuboslavsky d321724dae Updated oncall.sh to filter our draft PRs. (#28204)
This script finds PRs submitted by community members. It is currently
reporting several draft PRs which do not require any action from oncall
engineer. Adding automatic filtering of draft PRs.
2025-04-15 10:44:26 -05:00
Sharon KatzandLucas Manuel Rodriguez 85f0638f4f Add statistic to measure ABM pending hosts (#28226)
Co-authored-by: Lucas Manuel Rodriguez <lucas@fleetdm.com>
2025-04-15 11:30:07 -04:00
Victor Lyuboslavsky d42b6aa556 SCIM Entra ID support -- PATCH User with op:replace (#28167)
For #28196

This PR adds the capability to SCIM API to PATCH a User using
op:replace. This brings us closer to fully supporting Entra ID SCIM.

In future PR:
- Add support op:add
- Add support for op:remove
- Add support for PATCH to Group
- Add filter support

# Checklist for submitter
- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality
2025-04-15 10:14:20 -05:00
github-actions[bot]andjahzielv 1608d6ff0b Update Fleet-maintained apps (#28238)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: jahzielv <19838370+jahzielv@users.noreply.github.com>
2025-04-15 10:09:53 -05:00
Lucas Manuel Rodriguez 0f06ecb8f4 Update changelog for fleetd 1.41.0 release (#28206) 2025-04-15 11:45:45 -03:00
github-actions[bot]andlucasmrod 9c9bffc207 Update versions of fleetd components in Fleet's TUF [automated] (#28227)
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-04-15 06:39:29 -03:00
Lucas Manuel Rodriguez dbd1208821 Update docs that Fleet supports LUKS v2 (#28210)
For #27836.
2025-04-14 18:59:33 -03:00
Drew Baker a6cf1a666c Update README.md (#28169) 2025-04-14 16:56:59 -04:00
Brock Walters ee7c43c9af Update and rename discovering-xz-vulnerability-with-fleet.md to remed… (#28184)
…iating-the-xz-vulnerability-with-fleet.md

Modified all title fields.

# 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/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
- [ ] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [ ] 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/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-04-14 16:56:46 -04:00
Konstantin Sykulev a8371c2a0d fixing host software tab search (#28216)
https://github.com/fleetdm/fleet/issues/28149

- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] Added/updated automated tests
- [ ] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [x] Manual QA for all new/changed functionality
- [ ] 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-04-14 15:48:59 -05:00
Konstantin Sykulev 85d0009235 de-dup host_software and host_vpp_software_installs (#28185)
# Checklist for submitter

https://github.com/fleetdm/fleet/issues/28156

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

- [x] Added/updated automated tests
- [x] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [x] Manual QA for all new/changed functionality
2025-04-14 15:27:43 -05:00
RachelElysia c70c00cedc Fleet UI: More truncation fixes after QA (#28209) 2025-04-14 14:41:09 -04:00
Noah Talerman c91beea408 Enroll hosts guide: dual-boot computers (#28176) 2025-04-14 10:31:43 -05:00
Scott Gress a7a80273aa Fix double "Target" heading in Save Query modal (#28171)
For #28170

Before:
<img width="416" alt="image"
src="https://github.com/user-attachments/assets/03663571-cad2-44f5-bd4d-c94a14e4957b"
/>

---

After:

<img width="382" alt="image"
src="https://github.com/user-attachments/assets/f14a032a-85c8-4d1e-b4fc-617c6e5223ac"
/>
2025-04-14 09:12:07 -05:00