mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
Teams can configure their own host expiry setting. If global host expiry is enabled, teams cannot disable host expiry, but they can set a longer (or shorter) expiry time (in days). - Added `host_expiry_settings` to team spec, which can be used via fleetctl apply. - Added `host_expiry_settings` to PATH /fleet/teams/:id endpoint. #15609 (parent) #15966 (subtask) TODO: Create PR for API docs change: added parameter to `PATCH /fleet/teams/:id` endpoint # Checklist for submitter <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. - [x] Added/updated tests - [x] Manual QA for all new/changed functionality
57 lines
1.3 KiB
YAML
57 lines
1.3 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
|
|
mdm:
|
|
enable_disk_encryption: false
|
|
macos_settings:
|
|
custom_settings: null
|
|
windows_settings:
|
|
custom_settings: null
|
|
macos_setup:
|
|
bootstrap_package: null
|
|
enable_end_user_authentication: false
|
|
macos_setup_assistant: null
|
|
macos_updates:
|
|
deadline: null
|
|
minimum_version: null
|
|
windows_updates:
|
|
deadline_days: null
|
|
grace_period_days: null
|
|
scripts: null
|
|
name: tm1
|
|
---
|
|
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
|
|
mdm:
|
|
enable_disk_encryption: false
|
|
macos_settings:
|
|
custom_settings: null
|
|
windows_settings:
|
|
custom_settings: null
|
|
macos_setup:
|
|
bootstrap_package: null
|
|
macos_setup_assistant: null
|
|
macos_updates:
|
|
deadline: null
|
|
minimum_version: null
|
|
windows_updates:
|
|
deadline_days: null
|
|
grace_period_days: null
|
|
scripts: null
|
|
name: tm2
|