fleet/ee/server/service
Victor Lyuboslavsky 4f4800be19
GitOps remove teams (#18640)
#16677 

Improvements to `fleetctl gitops` command:
- Added the ability to pass multiple files, like `fleetctl gitops -f
file1 -f file2`, where the first file must be the global configuration
- Added the ability to remove teams that were not specified in team
configs using the switch `--delete-other-teams`
- When passing a global config and team config during initial
configuration, the `org_settings.mdm.apple_bm_default_team` value can be
set to match the team that will be created by the provided team config.

After these changes are released to prod, we can update
https://github.com/fleetdm/fleet-gitops to use the new switches: #18692

# 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] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-05-03 08:03:00 -05:00
..
embedded_scripts Linux Wipe Async (#18372) 2024-04-29 09:55:05 -04:00
appconfig.go enable controlled rollout of features by teams (#7408) 2022-08-30 08:13:09 -03:00
devices.go Update backend MDM migration flow and add logging to aid in debugging migration errors (#16627) 2024-02-06 16:53:43 -06:00
errors.go Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
hosts.go Added error messages when scripts are disabled. (#18174) 2024-04-10 11:29:46 -05:00
mdm.go GitOps remove teams (#18640) 2024-05-03 08:03:00 -05:00
mdm_export_for_test.go Update/fix/add tests for puppet-related flow (preassign+match) (#17859) 2024-03-26 13:41:40 -04:00
mdm_external_test.go GitOps remove teams (#18640) 2024-05-03 08:03:00 -05:00
mdm_profiles.go Add validations to disallow custom MDM profiles that contain names reserved by Fleet (#15373) 2023-11-30 17:19:18 -06:00
mdm_test.go Update/fix/add tests for puppet-related flow (preassign+match) (#17859) 2024-03-26 13:41:40 -04:00
service.go Add skeleton function to handle macos updates settings changes 2024-04-02 16:29:41 -04:00
software.go Add team filter to software detail APIs (#16876) 2024-02-18 07:14:20 -06:00
teams.go GitOps remove teams (#18640) 2024-05-03 08:03:00 -05:00
teams_test.go If user is a global/team observer/observer+, 'teams' endpoints should not include secrets (#12216) 2023-06-08 17:30:34 -04:00
users.go Do not return empty SSO and SMTP settings for non-global-admins (#12180) 2023-06-07 16:06:36 -03:00
users_test.go Allow setting user roles during JIT provisioning (#10193) 2023-03-01 20:18:40 -03:00
vulnerabilities.go Bugfix: Use CVE struct in Vuln Responses (#17140) 2024-02-26 11:29:59 -07:00