mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
For #32040. --- Backend changes to unblock the development of the orbit and frontend changes. New GET and PUT APIs for setting/getting software for Linux Setup Experience: ``` curl -k -X GET -H "Authorization: Bearer $TEST_TOKEN" https://localhost:8080/api/latest/fleet/setup_experience/linux/software?team_id=8&per_page=3000 curl -k -X PUT -H "Authorization: Bearer $TEST_TOKEN" https://localhost:8080/api/latest/fleet/setup_experience/linux/software -d '{"team_id":8,"software_title_ids":[3000, 3001, 3007]}' ``` New setup_experience/init API called by orbit to trigger the Linux setup experience on the device: ``` curl -v -k -X POST -H "Content-Type: application/json" "https://localhost:8080/api/fleet/orbit/setup_experience/init" -d '{"orbit_node_key": "ynYEtFsvv9xZ7rX619UE8of1I28H+GCj"}' ``` Get status API to call on "My device": ``` curl -v -k -X POST "https://localhost:8080/api/latest/fleet/device/7d940b6e-130a-493b-b58a-2b6e9f9f8bfc/setup_experience/status" ``` --- - [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] 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 ## New Fleet configuration settings - [X] Verified that the setting is exported via `fleetctl generate-gitops` - [X] 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) - [X] 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) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - Added Linux support for Setup Experience alongside macOS. - Introduced platform-specific admin APIs to configure and retrieve Setup Experience software (macOS/Linux). - Added device API to report Setup Experience status and an Orbit API to initialize Setup Experience on non-macOS devices. - Setup Experience now gates policy queries on Linux until setup is complete. - New activity log entry when Setup Experience software is edited (includes platform and team). - Documentation - Updated audit logs reference to include the new “edited setup experience software” event. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|---|---|---|
| .. | ||
| .keep | ||
| 1812-aws-rds-iam-auth | ||
| 4498-return-empty-software | ||
| 21754-fleetctl-api-body-support | ||
| 25025-dedup-vuln-count | ||
| 25636-fma-gitops | ||
| 26382-slsa-attestation-updates | ||
| 26404-stale-false-positive | ||
| 27902-linux-last-opened | ||
| 28642-deadlocks-during-gitops-run | ||
| 28713-gitops-checkbox-status-replica-env | ||
| 29250-force-filevault-on-login-for-manual-enrollments | ||
| 29554-gitops-mode-invalid-url | ||
| 29596-labels-platform-change | ||
| 29769-windows-profiles-with-cdata-escape-fails-to-verify | ||
| 29795-deleted-policies-still-showing | ||
| 29833-do-not-log-error-for-missing-eula | ||
| 29894-fix-deb-auto-install-query | ||
| 30095-gitops | ||
| 30154-add-custom-vars-ui | ||
| 30197-automatic-install-policies | ||
| 30238-add-open-instructions-for-apps-programs | ||
| 30248-custom-cvss-scores | ||
| 30357-all-teams-dd-bug | ||
| 30384-new-global-activity-when-key-escrowed | ||
| 30390-cert-country | ||
| 30403_fix_host_count_discrepancy | ||
| 30455-errorstore-panic | ||
| 30526-update-run-script-modal | ||
| 30565-cron-errors | ||
| 30660-enforce-idp-authentication-for-byod-enrollment | ||
| 30746-remove-unintended-broken-sort | ||
| 30803-os-icon-bug-fix | ||
| 30853-fail-unknown-declaration-type-ddm-errors | ||
| 30853-gitops-secrets-validation | ||
| 30854-fix-string-concat-in-sql-parser | ||
| 30857-pending-script-unlock-cancellation-not-respected | ||
| 30879-host-uuid-for-windows-profiles | ||
| 30918-calendar-webhook-authz | ||
| 31055-secrets-in-ui-backend | ||
| 31106-macos-cis-updates | ||
| 31143-hosts-gets-configured-before-profiles-are-sent | ||
| 31167-surface-user-scoped-profiles | ||
| 31173-fix-policy-deadlocks | ||
| 31173-fix-policy-deadlocks-frontend | ||
| 31180-add-ability-to-determine-pin-compliance | ||
| 31193-turn-on-ability-to-set-tpm-pin | ||
| 31212-surface-linux-kernel-vulns | ||
| 31224-scripts-page-updates | ||
| 31226-batch-script-run-detail-page | ||
| 31240-omit-batch-scripts-from-feed | ||
| 31267-no-team-automations | ||
| 31268-last-opened | ||
| 31282-add-incompatible-filter-for-hosts | ||
| 31286-package-upgrade-fix | ||
| 31291-linux-lock-script | ||
| 31343-blank-email-on-failed-login-activity | ||
| 31372-host-identity-cert-renewal | ||
| 31379-ui-issue-with-activity-feed | ||
| 31432-live-query-campaigns | ||
| 31444-strict-sql-mode | ||
| 31474-remove-incorrect-cves | ||
| 31477-secrets-in-macos-profiles | ||
| 31521-batch-script-cron-schedule | ||
| 31532-cancel-batch-activity | ||
| 31536-add-script-host-results-api | ||
| 31567-allow-canceling-from-modal | ||
| 31571-fix-panic-all-teams-software | ||
| 31580-duplicate-scripts | ||
| 31581-output-from-packages-only | ||
| 31592-improve-offline-indicator | ||
| 31601-remove-inaccurate-timestamp | ||
| 31623-add-new-batch-script-endpoints | ||
| 31690-windows-discovery-errors | ||
| 31721-missing-tar-summary-card | ||
| 31736-fleetctl-debug-binary-output | ||
| 31876-update-password-validator | ||
| 31932-last-opened-at | ||
| 31944-consistent-banner-link-colors | ||
| 32040-linux-setup-experience-backend | ||
| 32274-denylisted-error | ||
| 32313-otel-improvements | ||
| 32550-missing-ticket-options | ||
| 308888-add-fullname-idp-fleet-variable | ||
| issue-25367-os-updates-page-permissions | ||
| issue-27467-add-cells-to-cert-table | ||
| issue-29410-turn-on-mdm-styles | ||
| jve-get-mdm-command-line-output | ||
| update-go-1.24.6 | ||