-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature branch: Windows MDM migration (#24262)
Feature branch for the #22075 story.
- Loading branch information
Showing
53 changed files
with
912 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- add UI changes for windows mdm page and allow for automatic migration for windows hosts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* Added support for the new `windows_migration_enabled` setting (can be set via `fleetctl`, the `PATCH /api/latest/fleet/config` API endpoint and the UI). Requires a premium license. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
cmd/fleetctl/testdata/gitops/global_config_windows_migration_false_false.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
controls: | ||
macos_settings: | ||
windows_settings: | ||
scripts: | ||
enable_disk_encryption: false | ||
macos_migration: | ||
enable: false | ||
mode: "" | ||
webhook_url: "" | ||
macos_setup: | ||
bootstrap_package: null | ||
enable_end_user_authentication: false | ||
macos_setup_assistant: null | ||
macos_updates: | ||
deadline: null | ||
minimum_version: null | ||
windows_enabled_and_configured: false | ||
windows_migration_enabled: false | ||
windows_updates: | ||
deadline_days: null | ||
grace_period_days: null | ||
queries: | ||
policies: | ||
agent_options: | ||
command_line_flags: | ||
distributed_denylist_duration: 0 | ||
config: | ||
decorators: | ||
load: | ||
- SELECT uuid AS host_uuid FROM system_info; | ||
- SELECT hostname AS hostname FROM system_info; | ||
options: | ||
disable_distributed: false | ||
distributed_interval: 10 | ||
distributed_plugin: tls | ||
distributed_tls_max_attempts: 3 | ||
logger_tls_endpoint: /api/v1/osquery/log | ||
pack_delimiter: / | ||
org_settings: | ||
server_settings: | ||
deferred_save_host: false | ||
enable_analytics: true | ||
live_query_disabled: false | ||
query_report_cap: 2000 | ||
query_reports_disabled: false | ||
scripts_disabled: false | ||
server_url: $FLEET_SERVER_URL | ||
ai_features_disabled: true | ||
org_info: | ||
contact_url: https://fleetdm.com/company/contact | ||
org_logo_url: "" | ||
org_logo_url_light_background: "" | ||
org_name: $ORG_NAME | ||
smtp_settings: | ||
sso_settings: | ||
integrations: | ||
mdm: | ||
end_user_authentication: | ||
webhook_settings: | ||
fleet_desktop: # Applies to Fleet Premium only | ||
transparency_url: https://fleetdm.com/transparency | ||
host_expiry_settings: # Applies to all teams | ||
host_expiry_enabled: false | ||
activity_expiry_settings: | ||
activity_expiry_enabled: true | ||
activity_expiry_window: 60 | ||
features: # Features added to all teams | ||
enable_host_users: true | ||
enable_software_inventory: true | ||
vulnerability_settings: | ||
databases_path: "" | ||
secrets: # These secrets are used to enroll hosts to the "All teams" team | ||
- secret: SampleSecret123 | ||
- secret: ABC | ||
software: |
75 changes: 75 additions & 0 deletions
75
cmd/fleetctl/testdata/gitops/global_config_windows_migration_false_true.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
controls: | ||
macos_settings: | ||
windows_settings: | ||
scripts: | ||
enable_disk_encryption: false | ||
macos_migration: | ||
enable: false | ||
mode: "" | ||
webhook_url: "" | ||
macos_setup: | ||
bootstrap_package: null | ||
enable_end_user_authentication: false | ||
macos_setup_assistant: null | ||
macos_updates: | ||
deadline: null | ||
minimum_version: null | ||
windows_enabled_and_configured: false | ||
windows_migration_enabled: true | ||
windows_updates: | ||
deadline_days: null | ||
grace_period_days: null | ||
queries: | ||
policies: | ||
agent_options: | ||
command_line_flags: | ||
distributed_denylist_duration: 0 | ||
config: | ||
decorators: | ||
load: | ||
- SELECT uuid AS host_uuid FROM system_info; | ||
- SELECT hostname AS hostname FROM system_info; | ||
options: | ||
disable_distributed: false | ||
distributed_interval: 10 | ||
distributed_plugin: tls | ||
distributed_tls_max_attempts: 3 | ||
logger_tls_endpoint: /api/v1/osquery/log | ||
pack_delimiter: / | ||
org_settings: | ||
server_settings: | ||
deferred_save_host: false | ||
enable_analytics: true | ||
live_query_disabled: false | ||
query_report_cap: 2000 | ||
query_reports_disabled: false | ||
scripts_disabled: false | ||
server_url: $FLEET_SERVER_URL | ||
ai_features_disabled: true | ||
org_info: | ||
contact_url: https://fleetdm.com/company/contact | ||
org_logo_url: "" | ||
org_logo_url_light_background: "" | ||
org_name: $ORG_NAME | ||
smtp_settings: | ||
sso_settings: | ||
integrations: | ||
mdm: | ||
end_user_authentication: | ||
webhook_settings: | ||
fleet_desktop: # Applies to Fleet Premium only | ||
transparency_url: https://fleetdm.com/transparency | ||
host_expiry_settings: # Applies to all teams | ||
host_expiry_enabled: false | ||
activity_expiry_settings: | ||
activity_expiry_enabled: true | ||
activity_expiry_window: 60 | ||
features: # Features added to all teams | ||
enable_host_users: true | ||
enable_software_inventory: true | ||
vulnerability_settings: | ||
databases_path: "" | ||
secrets: # These secrets are used to enroll hosts to the "All teams" team | ||
- secret: SampleSecret123 | ||
- secret: ABC | ||
software: |
75 changes: 75 additions & 0 deletions
75
cmd/fleetctl/testdata/gitops/global_config_windows_migration_true_false.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
controls: | ||
macos_settings: | ||
windows_settings: | ||
scripts: | ||
enable_disk_encryption: false | ||
macos_migration: | ||
enable: false | ||
mode: "" | ||
webhook_url: "" | ||
macos_setup: | ||
bootstrap_package: null | ||
enable_end_user_authentication: false | ||
macos_setup_assistant: null | ||
macos_updates: | ||
deadline: null | ||
minimum_version: null | ||
windows_enabled_and_configured: true | ||
windows_migration_enabled: false | ||
windows_updates: | ||
deadline_days: null | ||
grace_period_days: null | ||
queries: | ||
policies: | ||
agent_options: | ||
command_line_flags: | ||
distributed_denylist_duration: 0 | ||
config: | ||
decorators: | ||
load: | ||
- SELECT uuid AS host_uuid FROM system_info; | ||
- SELECT hostname AS hostname FROM system_info; | ||
options: | ||
disable_distributed: false | ||
distributed_interval: 10 | ||
distributed_plugin: tls | ||
distributed_tls_max_attempts: 3 | ||
logger_tls_endpoint: /api/v1/osquery/log | ||
pack_delimiter: / | ||
org_settings: | ||
server_settings: | ||
deferred_save_host: false | ||
enable_analytics: true | ||
live_query_disabled: false | ||
query_report_cap: 2000 | ||
query_reports_disabled: false | ||
scripts_disabled: false | ||
server_url: $FLEET_SERVER_URL | ||
ai_features_disabled: true | ||
org_info: | ||
contact_url: https://fleetdm.com/company/contact | ||
org_logo_url: "" | ||
org_logo_url_light_background: "" | ||
org_name: $ORG_NAME | ||
smtp_settings: | ||
sso_settings: | ||
integrations: | ||
mdm: | ||
end_user_authentication: | ||
webhook_settings: | ||
fleet_desktop: # Applies to Fleet Premium only | ||
transparency_url: https://fleetdm.com/transparency | ||
host_expiry_settings: # Applies to all teams | ||
host_expiry_enabled: false | ||
activity_expiry_settings: | ||
activity_expiry_enabled: true | ||
activity_expiry_window: 60 | ||
features: # Features added to all teams | ||
enable_host_users: true | ||
enable_software_inventory: true | ||
vulnerability_settings: | ||
databases_path: "" | ||
secrets: # These secrets are used to enroll hosts to the "All teams" team | ||
- secret: SampleSecret123 | ||
- secret: ABC | ||
software: |
75 changes: 75 additions & 0 deletions
75
cmd/fleetctl/testdata/gitops/global_config_windows_migration_true_true.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
controls: | ||
macos_settings: | ||
windows_settings: | ||
scripts: | ||
enable_disk_encryption: false | ||
macos_migration: | ||
enable: false | ||
mode: "" | ||
webhook_url: "" | ||
macos_setup: | ||
bootstrap_package: null | ||
enable_end_user_authentication: false | ||
macos_setup_assistant: null | ||
macos_updates: | ||
deadline: null | ||
minimum_version: null | ||
windows_enabled_and_configured: true | ||
windows_migration_enabled: true | ||
windows_updates: | ||
deadline_days: null | ||
grace_period_days: null | ||
queries: | ||
policies: | ||
agent_options: | ||
command_line_flags: | ||
distributed_denylist_duration: 0 | ||
config: | ||
decorators: | ||
load: | ||
- SELECT uuid AS host_uuid FROM system_info; | ||
- SELECT hostname AS hostname FROM system_info; | ||
options: | ||
disable_distributed: false | ||
distributed_interval: 10 | ||
distributed_plugin: tls | ||
distributed_tls_max_attempts: 3 | ||
logger_tls_endpoint: /api/v1/osquery/log | ||
pack_delimiter: / | ||
org_settings: | ||
server_settings: | ||
deferred_save_host: false | ||
enable_analytics: true | ||
live_query_disabled: false | ||
query_report_cap: 2000 | ||
query_reports_disabled: false | ||
scripts_disabled: false | ||
server_url: $FLEET_SERVER_URL | ||
ai_features_disabled: true | ||
org_info: | ||
contact_url: https://fleetdm.com/company/contact | ||
org_logo_url: "" | ||
org_logo_url_light_background: "" | ||
org_name: $ORG_NAME | ||
smtp_settings: | ||
sso_settings: | ||
integrations: | ||
mdm: | ||
end_user_authentication: | ||
webhook_settings: | ||
fleet_desktop: # Applies to Fleet Premium only | ||
transparency_url: https://fleetdm.com/transparency | ||
host_expiry_settings: # Applies to all teams | ||
host_expiry_enabled: false | ||
activity_expiry_settings: | ||
activity_expiry_enabled: true | ||
activity_expiry_window: 60 | ||
features: # Features added to all teams | ||
enable_host_users: true | ||
enable_software_inventory: true | ||
vulnerability_settings: | ||
databases_path: "" | ||
secrets: # These secrets are used to enroll hosts to the "All teams" team | ||
- secret: SampleSecret123 | ||
- secret: ABC | ||
software: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.