mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
For #27042. Ready for review, just missing integration tests that I will be writing today. - [X] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. - [X] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements) - [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for new osquery data ingestion features. - [X] If database migrations are included, checked table schema to confirm autoupdate - For new Fleet configuration settings - [X] Verified that the setting can be managed via GitOps, or confirmed that the setting is explicitly being excluded from GitOps. If managing via Gitops: - [X] Verified that the setting is exported via `fleetctl generate-gitops` - [X] Added the setting to [the GitOps documentation](https://github.com/fleetdm/fleet/blob/main/docs/Configuration/yaml-files.md#L485) - [X] Verified that the setting is cleared on the server if it is not supplied in a YAML file (or that it is documented as being optional) - [x] Verified that any relevant UI is disabled when GitOps mode is enabled - For database migrations: - [X] Checked schema for all modified table for columns that will auto-update timestamps during migration. - [X] Confirmed that updating the timestamps is acceptable, and will not cause unwanted side effects. - [X] Ensured the correct collation is explicitly set for character columns (`COLLATE utf8mb4_unicode_ci`). - [x] Added/updated automated tests - [X] Manual QA for all new/changed functionality --------- Co-authored-by: jacobshandling <61553566+jacobshandling@users.noreply.github.com> Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
223 lines
5.8 KiB
JSON
223 lines
5.8 KiB
JSON
{
|
|
"kind": "config",
|
|
"apiVersion": "v1",
|
|
"spec": {
|
|
"org_info": {
|
|
"org_name": "",
|
|
"org_logo_url": "",
|
|
"org_logo_url_light_background": "",
|
|
"contact_url": "https://fleetdm.com/company/contact"
|
|
},
|
|
"server_settings": {
|
|
"server_url": "",
|
|
"live_query_disabled": false,
|
|
"query_report_cap": 0,
|
|
"query_reports_disabled": false,
|
|
"enable_analytics": false,
|
|
"deferred_save_host": false,
|
|
"scripts_disabled": false,
|
|
"ai_features_disabled": false
|
|
},
|
|
"smtp_settings": {
|
|
"enable_smtp": false,
|
|
"configured": false,
|
|
"sender_address": "",
|
|
"server": "",
|
|
"port": 0,
|
|
"authentication_type": "",
|
|
"user_name": "",
|
|
"password": "",
|
|
"enable_ssl_tls": false,
|
|
"authentication_method": "",
|
|
"domain": "",
|
|
"verify_ssl_certs": false,
|
|
"enable_start_tls": false
|
|
},
|
|
"host_expiry_settings": {
|
|
"host_expiry_enabled": false,
|
|
"host_expiry_window": 0
|
|
},
|
|
"activity_expiry_settings": {
|
|
"activity_expiry_enabled": false,
|
|
"activity_expiry_window": 0
|
|
},
|
|
"features": {
|
|
"enable_host_users": true,
|
|
"enable_software_inventory": false
|
|
},
|
|
"mdm": {
|
|
"android_enabled_and_configured": false,
|
|
"apple_business_manager": null,
|
|
"apple_server_url": "",
|
|
"volume_purchasing_program": null,
|
|
"apple_bm_terms_expired": false,
|
|
"apple_bm_enabled_and_configured": false,
|
|
"enabled_and_configured": false,
|
|
"windows_enabled_and_configured": false,
|
|
"enable_disk_encryption": false,
|
|
"macos_updates": {
|
|
"minimum_version": null,
|
|
"deadline": null
|
|
},
|
|
"ios_updates": {
|
|
"minimum_version": null,
|
|
"deadline": null
|
|
},
|
|
"ipados_updates": {
|
|
"minimum_version": null,
|
|
"deadline": null
|
|
},
|
|
"windows_updates": {
|
|
"deadline_days": 7,
|
|
"grace_period_days": 3
|
|
},
|
|
"windows_migration_enabled": false,
|
|
"macos_migration": {
|
|
"enable": false,
|
|
"mode": "",
|
|
"webhook_url": ""
|
|
},
|
|
"macos_settings": {
|
|
"custom_settings": null
|
|
},
|
|
"macos_setup": {
|
|
"bootstrap_package": null,
|
|
"enable_end_user_authentication": false,
|
|
"macos_setup_assistant": null,
|
|
"enable_release_device_manually": false,
|
|
"script": null,
|
|
"software": null,
|
|
"manual_agent_install": null
|
|
},
|
|
"windows_settings": {
|
|
"custom_settings": null
|
|
},
|
|
"end_user_authentication": {
|
|
"entity_id": "",
|
|
"issuer_uri": "",
|
|
"metadata": "",
|
|
"metadata_url": "",
|
|
"idp_name": ""
|
|
}
|
|
},
|
|
"scripts": null,
|
|
"sso_settings": {
|
|
"enable_jit_provisioning": false,
|
|
"enable_jit_role_sync": false,
|
|
"entity_id": "",
|
|
"issuer_uri": "",
|
|
"idp_image_url": "",
|
|
"metadata": "",
|
|
"metadata_url": "",
|
|
"idp_name": "",
|
|
"enable_sso": false,
|
|
"enable_sso_idp_login": false
|
|
},
|
|
"fleet_desktop": {
|
|
"transparency_url": "https://fleetdm.com/transparency"
|
|
},
|
|
"vulnerability_settings": {
|
|
"databases_path": "/some/path"
|
|
},
|
|
"webhook_settings": {
|
|
"activities_webhook": {
|
|
"enable_activities_webhook": false,
|
|
"destination_url": ""
|
|
},
|
|
"host_status_webhook": {
|
|
"enable_host_status_webhook": false,
|
|
"destination_url": "",
|
|
"host_percentage": 0,
|
|
"days_count": 0
|
|
},
|
|
"failing_policies_webhook": {
|
|
"enable_failing_policies_webhook": false,
|
|
"destination_url": "",
|
|
"policy_ids": null,
|
|
"host_batch_size": 0
|
|
},
|
|
"vulnerabilities_webhook": {
|
|
"enable_vulnerabilities_webhook": false,
|
|
"destination_url": "",
|
|
"host_batch_size": 0
|
|
},
|
|
"interval": "0s"
|
|
},
|
|
"integrations": {
|
|
"jira": null,
|
|
"zendesk": null,
|
|
"google_calendar": null,
|
|
"ndes_scep_proxy": null,
|
|
"custom_scep_proxy": null,
|
|
"digicert": null,
|
|
"conditional_access_enabled": null
|
|
},
|
|
"update_interval": {
|
|
"osquery_detail": "1h0m0s",
|
|
"osquery_policy": "1h0m0s"
|
|
},
|
|
"vulnerabilities": {
|
|
"databases_path": "",
|
|
"periodicity": "0s",
|
|
"cpe_database_url": "",
|
|
"cpe_translations_url": "",
|
|
"cve_feed_prefix_url": "",
|
|
"current_instance_checks": "",
|
|
"disable_data_sync": false,
|
|
"recent_vulnerability_max_age": "0s",
|
|
"disable_win_os_vulnerabilities": false
|
|
},
|
|
"license": {
|
|
"tier": "free",
|
|
"expiration": "0001-01-01T00:00:00Z",
|
|
"managed_cloud": false
|
|
},
|
|
"logging": {
|
|
"debug": true,
|
|
"json": false,
|
|
"result": {
|
|
"plugin": "filesystem",
|
|
"config": {
|
|
"enable_log_compression": false,
|
|
"enable_log_rotation": false,
|
|
"result_log_file": "/dev/null",
|
|
"status_log_file": "/dev/null",
|
|
"audit_log_file": "/dev/null",
|
|
"max_size": 500,
|
|
"max_age": 0,
|
|
"max_backups": 0
|
|
}
|
|
},
|
|
"status": {
|
|
"plugin": "filesystem",
|
|
"config": {
|
|
"enable_log_compression": false,
|
|
"enable_log_rotation": false,
|
|
"result_log_file": "/dev/null",
|
|
"status_log_file": "/dev/null",
|
|
"audit_log_file": "/dev/null",
|
|
"max_size": 500,
|
|
"max_age": 0,
|
|
"max_backups": 0
|
|
}
|
|
},
|
|
"audit": {
|
|
"plugin": "filesystem",
|
|
"config": {
|
|
"enable_log_compression": false,
|
|
"enable_log_rotation": false,
|
|
"result_log_file": "/dev/null",
|
|
"status_log_file": "/dev/null",
|
|
"audit_log_file": "/dev/null",
|
|
"max_size": 500,
|
|
"max_age": 0,
|
|
"max_backups": 0
|
|
}
|
|
}
|
|
},
|
|
"gitops": {
|
|
"gitops_mode_enabled": false,
|
|
"repository_url": ""
|
|
}
|
|
}
|
|
}
|