Commit graph

16240 commits

Author SHA1 Message Date
Allen Houchins
97c9b651e1
Update fleet-server-configuration.md (#27868)
Fixed typo
2025-04-04 17:44:19 -05:00
Lucas Manuel Rodriguez
5c7599764d
Run make generate-doc (#27911)
This will fix CI on `main`.
2025-04-04 16:27:09 -05:00
Rachael Shaw
82a5b80da6
4.66.0 release article follow-up (#27912) 2025-04-04 16:20:33 -05:00
Luke Heath
96ec13e28a
Add release article for 4.66.0 (#27908)
Co-authored-by: Rachael Shaw <r@rachael.wtf>
Co-authored-by: Drew Baker <89049099+Drew-P-drawers@users.noreply.github.com>
2025-04-04 16:12:37 -05:00
Lucas Manuel Rodriguez
0929e56fd6
Update Rust in fleetctl-docker image (#27907)
The merged changed in https://github.com/fleetdm/fleet/pull/23843
requires updating Rust in the builder image.
2025-04-04 18:09:30 -03:00
Ian Littman
65ba89e60c
Update FMA docs to include Windows + current instructions/impl details (#27828)
For #26716.

Also moves the article to an OS-independent URL, updates links from
elsewhere, and adds a bit more internal-link juice for install
automation.

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2025-04-04 14:55:27 -05:00
Andrea Scarpino
0758c19b44
Fix notarization after latest Apple changes (#23843)
Notarization from the fleetctl-docker image is broken actually:

```
fleetctl package --type=pkg --fleet-url=myurl --enroll-secret=mysecret --macos-devid-pem-content=XYZ --notarize --app-store-connect-api-key-id=XYZ --app-store-connect-api-key-issuer=XYZ --app-store-connect-api-key-content=XYZ
[..]
transporter error> Package Summary:
transporter error>  
transporter error> 1 package(s) were not uploaded because they had problems:
transporter error> 	/tmp/apple-codesign-QAsKT8/17081d03-fdc8-46cd-873a-2970f7be9c7c.itmsp - Error Messages:
transporter error> 		Notarization of MacOS applications using altool has been decommissioned. Please use notarytool. See: https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool (4200)
transporter error> [2024-11-15 13:35:47 UTC] <main> DBG-X: Returning 1
Error: I/O error: command ["/usr/local/bin/iTMSTransporter", "-m", "upload", "-apiIssuer", "XYZ", "-apiKey", "XYZ", "-f", "/tmp/apple-codesign-QAsKT8/17081d03-fdc8-46cd-873a-2970f7be9c7c.itmsp", "-vp", "json"] exited with code 1

Error: rcodesign notarize: exit status 1
```

Luckily, bumping `rcodesign` version is enough to make it work again.

# Checklist for submitter

- [ ] 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.
- [ ] Added/updated tests
- [ ] 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`).
- [ ] Manual QA for all new/changed functionality
- For Orbit and Fleet Desktop changes:
- [ ] 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)).
2025-04-04 16:53:39 -03:00
Sarah Gillespie
63a295151a
Update migration numbering to account for cherry-pick in v4.66 (#27901)
For #27900
2025-04-04 14:29:05 -05:00
Rachael Shaw
c592c2b24e
Docs v4.66.0 (#27844)
Documentation changes for the 4.66.0 release.

---------

Co-authored-by: Marko Lisica <83164494+marko-lisica@users.noreply.github.com>
Co-authored-by: Marko Lisica <markol.lisica@gmail.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Victor Lyuboslavsky <victor@fleetdm.com>
Co-authored-by: George Karr <georgekarrv@users.noreply.github.com>
Co-authored-by: RachelElysia <71795832+RachelElysia@users.noreply.github.com>
Co-authored-by: Ian Littman <iansltx@gmail.com>
Co-authored-by: Eugene <eugene@fleetdm.com>
Co-authored-by: Victor Lyuboslavsky <victor.lyuboslavsky@gmail.com>
Co-authored-by: Scott Gress <scottmgress@gmail.com>
Co-authored-by: Dante Catalfamo <43040593+dantecatalfamo@users.noreply.github.com>
2025-04-04 14:28:09 -05:00
Luke Heath
9b73f629b2
Adding changes for Fleet v4.66.0 (#27407) 2025-04-04 14:02:20 -05:00
Ian Littman
418501f0ca
Add note on current MSI auto-install query and uninstall script limitations (#27760)
Also tweaked wording around EXEs in the software packages article since
we're now no longer including EXE (un)install scripts at all.
2025-04-04 13:22:37 -05:00
Luke Heath
fe6c5df3ac
Remove change files from 4.64.0 (#27886) 2025-04-04 13:17:45 -05:00
Luke Heath
d1f5676f17
Adjust order in KPI script output to match spreadsheet columns (#27894)
Updating to match the current column order in the KPI sheet.
2025-04-04 13:12:36 -05:00
Mike McNeil
b3071c832b
Update testimonials.yml (#27871)
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
Co-authored-by: Eric <eashaw@sailsjs.com>
2025-04-04 12:50:24 -05:00
Luke Heath
264664d084
Remove unnecessary complexity from KPI script (#27850) 2025-04-04 12:39:32 -05:00
Luke Heath
2d19865ab0
Remove change files from v4.63.0 (#27885) 2025-04-04 12:31:15 -05:00
Mike McNeil
45044787b4
Homepage: Is this clearer? (#27830) 2025-04-04 12:22:18 -05:00
Victor Lyuboslavsky
61a7b70b5d
SCIM integration tests (#27750)
For #27287

This PR adds integration tests for SCIM API endpoints as well as some
bug fixes found by these tests.

# Checklist for submitter

- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality
2025-04-04 11:00:46 -05:00
Luke Heath
28232b5c11
Update API-Versioning.md (#27855) 2025-04-04 10:34:27 -05:00
Scott Gress
caf5e6f3b0
Allow patch release of fleetd via releaser script (#27448)
For #21396

# Details

This PR updates the automated release cycle for Orbit desktop, so that
it triggers based on a pushed _tag_ rather than a pushed PR. This has
the following benefits:

* The release can be based off of any branch, rather than always using
`main` as the base, so we can safely do patch release of desktop without
including in-progress code from main
* It brings the desktop release process more in line with the main Orbit
release process -- both are now triggered by a tag push.

We still create a PR for the release, to include a changelog.

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

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

## Testing

To do -- will discuss with @lucasmrod

---------

Co-authored-by: Luke Heath <luke@fleetdm.com>
2025-04-04 09:47:16 -05:00
Scott Gress
fca1e1ab42
Add GitOps for policy labels (#27781)
For #27301 

# Checklist for submitter

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

# Details

This PR adds the ability to set/unset labels on policies via GitOps. It
builds on https://github.com/fleetdm/fleet/pull/27575 (back end for
policy labels) and updates the `PolicySpec` type and `ApplyPolicySpecs`
methods to update the `policy_labels` table where needed.

## Testing

1. Create a few labels in the UI
1. Create a global policy "foo" in the UI without labels
2. Create a global policy "bar" in the UI with labels
2. Create a global policy "baz" in the UI with labels
4. Use `fleetctl gitops` with a global .yml file, and under `policies:`
add "foo", "bar", "baz" and "boop".
  * Add labels to "foo" with `labels_include_any:`
  * Don't add `labels_include_any:` to "bar"
* Add labels to "baz" with `labels_include_any:`, but different labels
than what you added in the UI
  * Add labels to "boop" with `labels_include_any:`

The expected outcome when viewing the queries in the UI (on the "edit
query" screen)
* Foo, Baz and Boop should have the labels specified in gitops
* Bar should have no labels

Repeat testing with _excluded_ labels.

---------

Co-authored-by: dantecatalfamo <dante.catalfamo@gmail.com>
Co-authored-by: Dante Catalfamo <43040593+dantecatalfamo@users.noreply.github.com>
2025-04-04 09:46:51 -05:00
Gabriel Hernandez
d7629b08ea
Feat UI idp host details (#27730)
For #27283

This includes the work to add the new users card on host details and
show the new idp information as well as google profiles and other
emails.

This includes:

**new user card on the host details and my device page**


![image](https://github.com/user-attachments/assets/f02badbf-85a2-4198-a30c-ace0e08ac843)


**rework of the grid layout on the host page**

**removal of unneeded device mapping code on host details and my device
page**



I've changed how we are using the grid layout in CSS to better support
dynamic rendering content


<!-- 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`.
- [ ] Added/updated automated tests
- [ ] Manual QA for all new/changed functionality
2025-04-04 15:46:22 +01:00
github-actions[bot]
a7591dc941
Update Fleet-maintained apps (#27877)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: jahzielv <19838370+jahzielv@users.noreply.github.com>
2025-04-04 09:08:51 -05:00
Sam Pfluger
3ad3def17f
Open CSE position (#27869)
- Open CSE role on fleetdm.com
2025-04-04 00:32:08 -05:00
Sam Pfluger
26ada37c50
Update receive-from-github.js (#27863) 2025-04-03 18:24:43 -05:00
Konstantin Sykulev
1e33641dd8
Filter out pending software on VulnerableOnly (#27859)
https://github.com/fleetdm/fleet/issues/27745
Related to https://github.com/fleetdm/fleet/pull/27752

When software is in a pending state, filter it out completely when
`VulnerableOnly` is true.
2025-04-03 15:52:45 -05:00
Ian Littman
2811b2b4c6
Don't include hash for Chrome for Windows due to non-pinned installer URL (#27755)
- [x] Manual QA for all new/changed functionality
2025-04-03 15:24:14 -05:00
Allen Houchins
41e5ba4776
Update mozilla-firefox.yml (#27857) 2025-04-03 14:55:55 -05:00
George Karr
28a82b19c9
Create certs.md (#27013) 2025-04-03 14:19:00 -05:00
Mike McNeil
ed61bd65de
Homepage: Maybe a more useful link? (#27829) 2025-04-03 13:41:25 -05:00
RachelElysia
e5ba365201
Fleet UI: Unify manage automations > paginated list footer styling (#27841) 2025-04-03 13:07:57 -04:00
Mike McNeil
ab4bcc8fe3
Mellowing out some language (#27832)
Co-authored-by: Eric <eashaw@sailsjs.com>
2025-04-03 12:01:52 -05:00
Mike McNeil
7b7a00558c
Homepage: Simpler by default (#27831) 2025-04-03 11:47:51 -05:00
github-actions[bot]
d6ec3c4cef
Update Fleet-maintained apps (#27838)
Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: jahzielv <19838370+jahzielv@users.noreply.github.com>
2025-04-03 09:27:17 -05:00
Ian Littman
0f2f085812
Add more test coverage for Fleet-maintained apps (#27722)
For #27377.

# 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
2025-04-03 09:18:27 -05:00
Mike McNeil
5385662098
Handbook: One too many gooses (#27835)
Related to https://github.com/fleetdm/fleet/pull/27834
2025-04-02 23:47:57 -05:00
Mike McNeil
20e4356175
Handbook: I'm sorry about the geese (#27834) 2025-04-02 23:41:49 -05:00
Mike McNeil
52ed4c5a18
Handbook: Fix link (#27833) 2025-04-02 23:11:47 -05:00
Noah Talerman
3ce4b22548
Roadmap preview, April 2025 (#26990)
Co-authored-by: Marko Lisica <83164494+marko-lisica@users.noreply.github.com>
Co-authored-by: Drew Baker <89049099+Drew-P-drawers@users.noreply.github.com>
2025-04-02 19:37:03 -04:00
Victor Lyuboslavsky
8658608c37
Add SCIM Groups (#27702)
For #27287

This PR adds SCIM Groups to Fleet's SCIM endpoint as a follow on to SCIM
Users. The logic has been manually tested with Okta, and integration
tests will be in the next PR.

# Checklist for submitter
- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality
2025-04-02 17:10:40 -05:00
Konstantin Sykulev
28c964b687
Filter pending installs/uninstalls for vulnerabilities (#27752)
If there is a pending install or uninstall for a software_title that has
a cooresponding software record (perhaps installed by another host),
then we need to apply the vulnerability joins to properly filter them.

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

# 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] 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
2025-04-02 17:04:52 -05:00
Drew Baker
1871dc6334
Update marketing.rituals.yml (#27811)
Updating rituals for better clarity
2025-04-02 16:36:07 -05:00
Noah Talerman
b7c547b171
New ritual: 🦢🚀🔄 Design sync (#27816)
Why? Product Designers 🤝 Frontend Engineers to discuss changes to design
conventions and UI components impact.
How often? Every 3 weeks
Who? Product Designers and Frontend Engineers
What? Talk about design conventions, UI components, and potential
overlap/collisions between wireframes
2025-04-02 17:32:55 -04:00
Scott Gress
d6eaa0913a
Add ability to target labels on policies (#27599)
For #27276 

# Details

This PR adds the ability to select labels when saving or editing a query
in the UI, so that the query will only target hosts with those labels.
It follows the API design from
https://github.com/fleetdm/fleet/pull/27196, utilizing the
labels_include_any and labels_exclude_any fields. The expectation is
that when creating or updating a query, labels_include_any and
labels_exclude_any are arrays of label names, and when fetching a single
query, they are arrays of objects with a name and an id key.

Other updates in this PR:

* Removed colons from various headings on the Save Policy Modal and Edit
Policy form
* Updated the "Delete label" text
* Removed "Policy runs on all hosts with these platforms." subheading
underneath the platform selector
* TargetLabelSelector component now has `suppressTitle` flag to turn off
the "Target" title.
2025-04-02 16:31:03 -05:00
Eric
dd06b2a414
Docs: Remove "Time and date are configured to be updated automatically (macOS)" policy (#27788)
Closes: #27460

Changes:
- Removed the "Time and date are configured to be updated automatically
(macOS)" policy from the standard query library yaml. The policy checks
a value that can only be set on iOS devices
(https://developer.apple.com/documentation/devicemanagement/restrictions#:~:text=forceAutomaticDateAndTime).
2025-04-02 16:30:49 -05:00
Jahziel Villasana-Espinoza
779da3502b
remove assertions that are not super important and can fail when FMA list changes (#27813)
Updates a test that can fail whenever the FMA list changes; the
assertions are from back when FMA was macOS only, so they're OK to
remove (the important stuff is still being tested)

# 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
2025-04-02 17:17:15 -04:00
Luke Heath
173b0826f9
Add "Plan a Fleetie get together" section to handbook (#27809) 2025-04-02 15:46:44 -05:00
Noah Talerman
2a3e99ae47
Update endpoints that need to be exposed (#27798)
Most Fleet users want Fleet Desktop > My device page to work. I think
let's document that as the best practice

---------

Co-authored-by: Robert Fairburn <8029478+rfairburn@users.noreply.github.com>
2025-04-02 15:44:17 -05:00
Scott Gress
fc3cd3b33f
Add docs for upgrading Go (#27693)
For #27605 

Adds a guide to the contributor docs about how to upgrade the Go version
used to build Fleet.
2025-04-02 15:30:32 -05:00
Luke Heath
6b5f2bfe04
Fix typos and adjust layout of offsites documentation (#27796) 2025-04-02 14:55:34 -05:00