Commit Graph
17941 Commits
Author SHA1 Message Date
Jahziel Villasana-Espinoza b4092cc625 add note about multiple teams to testing section (#31873)
Added a callout about using multiple teams during testing to the backend
patterns doc.
2025-08-13 12:52:44 -04:00
Victor Lyuboslavsky a78e1b24ca Labels optimization recommended in code review. (#31856)
Fixes #29596
2025-08-13 17:42:33 +02:00
Alex Mitchell 90f5f627f7 Update open-positions.yml (#31866)
Updated Solutions Specialist responsibilities and experience to better
align with pipeline generation goals and deprioritizing direct selling.

# Checklist for submitter

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

- [ ] 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.
2025-08-13 09:49:17 -05:00
George Karr 857476d85d Update product-groups.md (#31761) 2025-08-13 09:39:34 -05:00
RachelElysia 6e324eaec3 Update design-qa-considerations.md (#31837) 2025-08-13 09:31:53 -05:00
Noah Talerman 5aff5e76c1 Running Fleet locally: Building MDM features (#31829) 2025-08-13 09:27:27 -05:00
Victor Lyuboslavsky f3a4e0c208 Added http_message_signature_p384_prob switch to osquery-perf (#31862) 2025-08-13 16:27:00 +02:00
Juan Fernandez 684b0555d3 Refactoring suggested in #31634 (#31839)
For #30384

Minor refactorings suggested in
https://github.com/fleetdm/fleet/pull/31634.

No new changes introduced, so change file not required.
2025-08-13 10:24:32 -04:00
RachelElysia df9eb58d52 Fleet UI: Custom CVSS scores followup (#31849) 2025-08-13 09:55:35 -04:00
Gabriel Hernandez d9f23e23c3 add columns to host details and my device certificates table (#31701)
relates to #27567

this adds two columns to the certificates table on host details and my
device pages; the issuer cell and the issued cell.

This also makes a change to TooltipTruncateTextCell that set the value
as `---` if the provided value is undefined, null, or empty string. This
still allows the number `0` to be provided

<img width="1205" height="540" alt="image"
src="https://github.com/user-attachments/assets/b712ccda-b5be-422d-9489-612ccdacab79"
/>

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
- [x] QA'd all new/changed functionality manually


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

## Summary by CodeRabbit

* **New Features**
* Added "Issuer" and "Issued" columns to the certificates table on host
details and my device pages, providing more certificate information.
* **Style**
* Improved table styling with horizontal scrolling for overflowing
content and consistent sizing for status indicators.
* **Bug Fixes**
* Ensured empty or missing table cell values are consistently displayed
with a default placeholder.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-08-13 14:01:38 +01:00
Daniel Seifert 2e47a03128 Fix Comment in Helm Charts values.yaml (#31854) 2025-08-13 07:52:15 -05:00
Ian Littman da9bac09eb Add support for install/uninstall script overrides, pre-install query, post-install script in FMA GitOps (#31803)
Also removed the automatic install flag on YAML FMAs as it's
undocumented/unspec'd

Fixes #25636.

# 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-08-13 07:48:36 -05:00
Noah Talerman ccbdf6c02e Best practice Terraform (#31827)
Add info about how Fleet handles AWS Secrets Manager. More context:
https://github.com/fleetdm/fleet/pull/31134
2025-08-12 22:16:02 -05:00
Zach Wasserman 50151f6dee Add support for last opened time for DEB and RPM packages (#31638)
Fleet side of #27902 

# 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 (CentOS 6, 7, 8,
Ubuntu 24)


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

## Summary by CodeRabbit

* **New Features**
* Added support for tracking and displaying the last opened time for
software installed via DEB and RPM packages on Linux systems.

* **Documentation**
* Updated documentation to include new queries for retrieving last
opened timestamps of Linux software packages.

* **Tests**
* Introduced new tests to verify the correct processing and integration
of last opened timestamps for DEB and RPM software packages.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-08-12 15:46:04 -07:00
Nathanael HollidayandSam Pfluger 82f6f10287 Add AWS offer creation steps to handbook (#31826)
Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2025-08-12 16:51:46 -05:00
Luke Heath bf6fe767be Adding 2024 pen test findings and responses (#31789) 2025-08-12 16:40:09 -05:00
idondras 071ad4ccb7 Update go-to-market-groups.md (#31834)
# Checklist for submitter

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

- [ ] 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)
- [ ] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes

## Testing

- [ ] Added/updated automated tests
- [ ] 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

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

- [ ] Confirmed that the fix is not expected to adversely impact load
test results
- [ ] Alerted the release DRI if additional load testing is needed

## Database migrations

- [ ] Checked table schema to confirm autoupdate
- [ ] 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`).

## New Fleet configuration settings

- [ ] Setting(s) is/are explicitly excluded from GitOps

If you didn't check the box above, follow this checklist for
GitOps-enabled settings:

- [ ] Verified that the setting is exported via `fleetctl
generate-gitops`
- [ ] Verified the setting is documented in a separate PR 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

## fleetd/orbit/Fleet Desktop

- [ ] Verified compatibility 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))
- [ ] If the change applies to only one platform, confirmed that
`runtime.GOOS` is used as needed to isolate changes
- [ ] Verified that fleetd runs on macOS, Linux and Windows
- [ ] Verified auto-update works from the released version of component
to the new version (see [tools/tuf/test](../tools/tuf/test/README.md))
2025-08-12 16:38:39 -05:00
Noah TalermanandSam Pfluger aad5474ef2 Update CODEOWNERS and auto-reviewers: /articles (#31825)
Make @Michael Thomas auto-reviewer for `/articles` instead of CODEOWNER.
Reverts changes made in [this
PR](https://github.com/fleetdm/fleet/pull/31724).

Why? Timezones. We still want Mike T’s eyes on all guides (consistent
language, voice, branch) but don’t want to block releases and guide
updates while Mike is sleeping 😴

More context in
[Slack](https://fleetdm.slack.com/archives/C02A8BRABB5/p1755008490360329).

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2025-08-12 16:37:10 -05:00
Konstantin Sykulev 34518a62d6 Custom installers translate no team to team_id 0 (#31846)
Custom installers for no team pass null for team_id. This needs to get
translated to 0 for `getPoliciesBySoftwareTitleIDs`

patch for https://github.com/fleetdm/fleet/pull/31746
For #31571
2025-08-12 15:57:20 -05:00
Noah Talerman e5ff795111 Product group handbook: speed up community PRs (#31467) 2025-08-12 13:57:57 -05:00
Kevin Malkin c73a72bc66 Update go-to-market-groups.md (#31836)
# Checklist for submitter

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

- [ ] 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)
- [ ] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes

## Testing

- [ ] Added/updated automated tests
- [ ] 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

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

- [ ] Confirmed that the fix is not expected to adversely impact load
test results
- [ ] Alerted the release DRI if additional load testing is needed

## Database migrations

- [ ] Checked table schema to confirm autoupdate
- [ ] 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`).

## New Fleet configuration settings

- [ ] Setting(s) is/are explicitly excluded from GitOps

If you didn't check the box above, follow this checklist for
GitOps-enabled settings:

- [ ] Verified that the setting is exported via `fleetctl
generate-gitops`
- [ ] Verified the setting is documented in a separate PR 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

## fleetd/orbit/Fleet Desktop

- [ ] Verified compatibility 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))
- [ ] If the change applies to only one platform, confirmed that
`runtime.GOOS` is used as needed to isolate changes
- [ ] Verified that fleetd runs on macOS, Linux and Windows
- [ ] Verified auto-update works from the released version of component
to the new version (see [tools/tuf/test](../tools/tuf/test/README.md))
2025-08-12 11:34:46 -07:00
RachelElysia 4ff53b96d3 Fleet UI: Unreleased clientside pagination bug fix (#31823) 2025-08-12 13:13:37 -04:00
Victor Lyuboslavsky 98954e8113 Make MySQL test port configurable (#31782)
Fixes #31781 

Only test-related changes.

I found this useful for agentic AI workflows. For example, you have an
AI agent debugging/rerunning a test. Meanwhile, you can spin up another
`mysql_test` instance in another workarea and work there in parallel.
2025-08-12 15:45:43 +02:00
Mike Thomas 1ffdcd631d added Conductor One logo to testimonial (#31813)
- added Conductor One logo to testimonial
2025-08-12 08:01:27 -05:00
Lucas Manuel Rodriguez d849e01add Update Go to 1.24.6 (#31784)
Ran
```
make update-go version=1.24.6
```
And then updated the `sha256`s manually in the Dockerfiles.

Fixes https://nvd.nist.gov/vuln/detail/CVE-2025-47907
```
Cancelling a query (e.g. by cancelling the context passed to one of the query methods) during a call
to the Scan method of the returned Rows can result in unexpected results if other queries are being
made in parallel. This can result in a race condition that may overwrite the expected results with those
of another query, causing the call to Scan to return either unexpected results from the other
query or an error.
```
2025-08-12 08:10:05 -03:00
Sam Pfluger 8ad5a43cfe Add "Cancel a vendor or subscription" (#31810)
closes https://github.com/fleetdm/confidential/issues/6731
2025-08-11 19:38:28 -05:00
Isabell Reedy b293c4a514 Remove Head of Security Solutions from open positions (#31802) 2025-08-11 16:51:38 -05:00
Jordan Montgomery 18ff73007d Revert HCA changes on main(moving work to feature branch) (#31806)
This revert work checked in earlier today so it can be moved to a
feature branch
2025-08-11 16:46:24 -04:00
Dante Catalfamo 925a67159a Omit batch host script executions from global activities (#31617)
#31240
2025-08-11 16:43:20 -04:00
Carlo D c5f390f422 Update product-groups.md, receive-from-github.js (#31800)
Update `product-groups.md` and `receive-from-github.js`.
2025-08-11 15:59:54 -04:00
Eric 7d848ea168 Website: small change to run deploy workflow. (#31801)
Changes:
- Added a small whitespace change to test the "Deploy Fleet Website"
workflow.
2025-08-11 14:59:07 -05:00
Lucas Manuel Rodriguez 4265bed7f1 Make sure VEX report is up-to-date with a CI check (#31759) 2025-08-11 14:55:31 -05:00
Eric 418cd8b416 Update "Deploy to Heroku" step of Deploy Fleet website workflow. (#31798)
Changes:
- Updated the "deploy to Heroku" step of the "Deploy Fleet Website"
workflow.
2025-08-11 14:37:08 -05:00
Victor Lyuboslavsky 8c8fdc7e24 Clear label membership when label platform changes. (#31726) 2025-08-11 21:35:22 +02:00
Dante Catalfamo 904e056a04 Cancel batch execution API (#31757)
#31532
2025-08-11 15:17:57 -04:00
Lucas Manuel Rodriguez c68bc9c1ce Add logging to osquery-perf for SCEP enroll (#31795)
Changes to osquery-perf:
- Adding some logging to SCEP operations
- Increasing timeout from 30s to 1m
- Adding a separate ctx with timeout for the second PKI operation.
2025-08-11 16:05:28 -03:00
Eric 856a97a0b1 Fix YAML syntax error in Deploy Fleet website workflow. (#31794)
(Sorry for the follow-up PR)

Changes:
- Fixed a YAML syntax error in the "Deploy Fleet website" workflow.
2025-08-11 14:03:43 -05:00
Allen Houchins 0119e297e0 Update company-portal.yml (#31793)
- Update software version for Company Portal
2025-08-11 14:01:18 -05:00
Ian Littman 6ca13d80bd Clean up tee shirt size mappings (#31758) 2025-08-11 13:49:33 -05:00
Eric b295d3a183 Update website to deploy from a parentless commit. (#31790)
Related to: [#31753](https://github.com/fleetdm/fleet/issues/31753)

Changes:
- Updated the "Deploy Fleet website" workflow to push to the Heroku git
repo from a parentless commit that does not contain the full git
history.
2025-08-11 13:25:54 -05:00
Sam Pfluger 8326af2c8e Add "escomeau" to list of humans (#31791) 2025-08-11 12:45:31 -05:00
Harrison Ravazzolo 3c830e9690 Update gitops yaml docs (#31786)
Correct name for key is `custom_scep_proxy`, updating docu
2025-08-11 12:39:54 -05:00
RachelElysia be928e2c19 Fleet UI: Fix VPP pending bugs (#31787) 2025-08-11 13:12:56 -04:00
Magnus Jensen 31208473df Add certificate authority type to permission policy (#31783)
Piece of work to avoid duplicate work being made in parallel.

Adds CA specific permission entries, for admins and gitops which can
both read and write [as per the permission
change](https://github.com/fleetdm/fleet/pull/30930/files#diff-61a0f8c7cd442fab953eefa601995b52cce1b360efacec358968ef6f2c6a195c)

# Checklist for submitter

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

## Testing

- [x] Added/updated automated tests
2025-08-11 17:54:57 +02:00
Jordan Montgomery da55b5f75a 30939 Migrating CAs from App Config JSON to their own table (#31739)
Migrates CAs out of the App Config JSON and into their own table
including their secrets. Does not implement CRUD endpoints or update
clients of existing app config to use them yet.

I think there are good arguments both for keeping secrets in separate
tables and keeping them in this table but on balance I felt it was best
to move everything CA to this new table

# 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

## Database migrations

- [x] Checked table schema to confirm autoupdate
- [x] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [x] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [x] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
2025-08-11 11:37:55 -04:00
Victor Lyuboslavsky bc3656781c Added verification support for $FLEET_VAR_HOST_UUID (#31777) 2025-08-11 14:47:55 +02:00
Isabell Reedy 1ef8bc2724 Update Solutions Specialist role (#31779) 2025-08-10 16:28:24 -05:00
Allen Houchins e6dfd16d51 Updated script logic and PR reviewers list (#31771)
- Updated script logic to only update the deadline if a new version of
macOS is released
- Updated PR reviewers list
2025-08-10 13:07:09 -05:00
Victor Lyuboslavsky 9d24f20c98 Added support of $FLEET_VAR_HOST_UUID in Windows MDM configuration profiles (#31695)
Fixes #30879 

Demo video: https://www.youtube.com/watch?v=jVyh5x8EMnc

I added a `FleetVarName` type, which should improve
safety/maintainability, but that resulted in a lot of files touched.

I also added the following. However, these are not strictly needed for
this feature (only useful for debug right now). But we are following the
pattern created by MDM team.

  1. Add the migration to insert HOST_UUID into fleet_variables
2. Update the Windows profile save logic to populate
mdm_configuration_profile_variables


# Checklist for submitter

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.

## Testing

- [x] Added/updated automated tests
- [x] Where appropriate, [automated tests simulate multiple hosts and
test for host isolation]
- [x] QA'd all new/changed functionality manually



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

## Summary by CodeRabbit

* **New Features**
* Added support for the `$FLEET_VAR_HOST_UUID` variable in Windows MDM
configuration profiles, enabling per-host customization during profile
deployment.
* Enhanced profile delivery by substituting Fleet variables with actual
host data in Windows profiles.
* Introduced a database migration to register the new Fleet variable for
host UUID.

* **Bug Fixes**
* Improved validation and error handling to reject unsupported Fleet
variables in Windows MDM profiles with detailed messages.
* Ensured robust handling of errors during profile command insertion
without aborting the entire reconciliation process.

* **Tests**
* Added extensive tests covering validation, substitution, error
handling, and reconciliation workflows for Windows MDM profiles using
Fleet variables.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-08-10 12:24:38 +02:00
Victor Lyuboslavsky c316fd4a56 Fix flaky test: TestCacheEviction panics (#31698)
Fixes #31697 flaky TestCacheEviction test.

Seen here:
https://github.com/fleetdm/fleet/actions/runs/16802837212/job/47588005349

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

## Summary by CodeRabbit

* **Bug Fixes**
* Improved cache stability by adding safety checks to prevent invalid
updates when cache entries are evicted or removed.
* Enhanced eviction logic to prevent out-of-bounds errors during cache
management.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-08-09 07:41:47 +02:00