mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
for #24471 This PR adds missing support for updating a team's failing policy webhook via GitOps: * If `team_settings.webhook_settings.failing_policies_webhook` is not set, the webhook will be disabled and all settings cleared. * If `team_settings.webhook_settings.failing_policies_webhook` is set, the webhook will be configured according to the specified settings. A new test has been added to verify this functionality, and I tested it locally using the `fleetctl gitops` command. --------- Co-authored-by: Dante Catalfamo <43040593+dantecatalfamo@users.noreply.github.com>
43 lines
1 KiB
YAML
43 lines
1 KiB
YAML
apiVersion: v1
|
|
kind: team
|
|
spec:
|
|
team:
|
|
features:
|
|
enable_host_users: true
|
|
enable_software_inventory: true
|
|
host_expiry_settings:
|
|
host_expiry_enabled: false
|
|
host_expiry_window: 0
|
|
integrations:
|
|
google_calendar: null
|
|
mdm:
|
|
enable_disk_encryption: false
|
|
macos_settings:
|
|
custom_settings: null
|
|
windows_settings:
|
|
custom_settings: null
|
|
macos_setup:
|
|
bootstrap_package: %s
|
|
enable_end_user_authentication: false
|
|
macos_setup_assistant: %s
|
|
enable_release_device_manually: false
|
|
script: null
|
|
software: null
|
|
macos_updates:
|
|
deadline: null
|
|
minimum_version: null
|
|
ios_updates:
|
|
deadline: null
|
|
minimum_version: null
|
|
ipados_updates:
|
|
deadline: null
|
|
minimum_version: null
|
|
windows_updates:
|
|
deadline_days: null
|
|
grace_period_days: null
|
|
scripts: null
|
|
secrets: null
|
|
webhook_settings:
|
|
host_status_webhook: null
|
|
failing_policies_webhook: null
|
|
name: tm1
|