Skip to content

Add mdm.macos_migration to app config endpoints #11671

@gillespi314

Description

@gillespi314

Related user story

#11534

Task

  • Add new properties to config interface used with GET /config and PATCH /config endpoints.

Expected frontend TypeScript interface:

interface IConfig {
  org_info: {
    ...
    contact_url: string; // default is "https://fleetdm.com/company/contact"
  };
  ...
  mdm: {
    ...
    macos_migration: {
      enable: boolean; // default `false`
      mode: "voluntary" | "forced"; // default "voluntary"
      webhook_url: string; // default empty, but must be valid url if `enable: true` (subject to client-side validation)
    };
};

Expected fleetctl YAML spec:

apiVersion: v1
kind: config
spec:
  org_info:
    contact_url: https://fleetdm.com/company/contact
  mdm:
    macos_migration:
      enable: true
      mode: voluntary
      webhook_url: https://organization.com/send-request-here
  ...

Metadata

Metadata

Assignees

Labels

#g-mdmMDM product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.~sub-taskA technical sub-task that is part of a story. (Not QA'd. Not estimated.)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions