fleet/server
Roberto Dip 337d61c823
automatically install a fleetd configuration profile to relevant teams (#10910)
Related to #9459, this adds logic to the cron to add a
`com.fleetdm.fleetd.config` configuration profile to the
`apple_mdm_configuration_profiles` table.

As noted in the comments, this makes some assumptions:

- This profile will be applied to all hosts in the team (or "no team",)
but it will only be used by hosts that have a fleetd installation
without
  an enroll secret and fleet URL (mainly DEP enrolled hosts).
- Once the profile is applied to a team (or "no team",) it's not removed
if
  AppConfig.MDM.AppleBMDefaultTeam changes, this is to preserve existing
agents using the configuration (mainly ServerURL as EnrollSecret is used
  only during enrollment)
2023-04-04 17:09:20 -03:00
..
authz Finalize MDM commands part 2: implement fleetctl mdm run-command (#10866) 2023-04-03 14:25:49 -04:00
bindata Allow users to be readded if they were ever removed (#1945) 2021-09-07 13:33:40 -03:00
config add configuration to disable origin header check (#10779) 2023-03-28 01:23:29 -04:00
contexts Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
datastore automatically install a fleetd configuration profile to relevant teams (#10910) 2023-04-04 17:09:20 -03:00
errorstore Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
fleet automatically install a fleetd configuration profile to relevant teams (#10910) 2023-04-04 17:09:20 -03:00
health Separate health checks for MySQL and Redis (#6468) 2022-07-01 08:08:03 -03:00
launcher Ingest pending MDM hosts (#9065) 2022-12-26 15:32:39 -06:00
live_query Bump go to 1.19.1 (#7690) 2022-09-12 20:32:43 -03:00
logging fix fleetctl apply with default configuration (#10305) 2023-03-06 10:44:40 -05:00
mail Fix SMTP e-mail send when SMTP server has credentials (#10758) 2023-03-28 15:23:15 -03:00
mdm/apple automatically install a fleetd configuration profile to relevant teams (#10910) 2023-04-04 17:09:20 -03:00
mock automatically install a fleetd configuration profile to relevant teams (#10910) 2023-04-04 17:09:20 -03:00
policies Refactor webhooks cron to new schedule package (#7840) 2022-09-20 14:26:36 -05:00
ptr Feature 9834: Add published date to vulnerability object (#10434) 2023-03-28 16:11:31 -04:00
pubsub Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
service automatically install a fleetd configuration profile to relevant teams (#10910) 2023-04-04 17:09:20 -03:00
sso Allow setting user roles during JIT provisioning (#10193) 2023-03-01 20:18:40 -03:00
test Fix SMTP e-mail send when SMTP server has credentials (#10758) 2023-03-28 15:23:15 -03:00
vulnerabilities Clean out-of-date NVD results. (#10514) 2023-04-03 13:45:18 -04:00
webhooks Feature 9834: Add published date to vulnerability object (#10434) 2023-03-28 16:11:31 -04:00
websocket Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
worker Feature 9834: Add published date to vulnerability object (#10434) 2023-03-28 16:11:31 -04:00
utils.go Modify /server/utils to handle all 2xx codes as POST success (#3534) 2021-12-30 16:00:10 -06:00