fleet/ee/server/service
Victor Lyuboslavsky 05eb338561
Enable gitops to create teams with no enroll secrets, or clear enroll secrets for an existing team (#19616)
Enable gitops to create teams with no enroll secrets, or clear enroll
secrets for an existing team
#19332 

`fleetctl apply` also gains this extra functionality. In `fleetctl
apply` secrets will not be change if one of the following:
- secrets is missing from yml
- They are blank in yml, like: `secrets:`
- They are null in yml, like: `secrets: null`

They will only be cleared with `fleetctl apply` if the user explicitly
sets them to an empty array, like:
- `secrets: []`

# 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-06-11 13:20:32 -05:00
..
embedded_scripts fix: remove references to adminstrator users in script 2024-05-28 17:45:28 -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 Activity feed webhooks backend (#19261) 2024-05-24 11:25:27 -05:00
mdm.go generate/ingest SCEP challenges and improve error messages (#19468) 2024-06-03 18:33:52 -03: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 Merge remote-tracking branch 'origin/main' into feat-save-certs 2024-05-30 18:34:40 -03: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 19016 ingest certs on start (#19360) 2024-05-30 18:18:42 -03:00
service.go 19016 ingest certs on start (#19360) 2024-05-30 18:18:42 -03:00
software.go Add team filter to software detail APIs (#16876) 2024-02-18 07:14:20 -06:00
software_installers.go Fix a panic when downloading a software installer that exists in the DB but not in the storage (#19527) 2024-06-11 08:53:41 -04:00
teams.go Enable gitops to create teams with no enroll secrets, or clear enroll secrets for an existing team (#19616) 2024-06-11 13:20:32 -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 Activity feed webhooks backend (#19261) 2024-05-24 11:25:27 -05: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