mirror of
https://github.com/fleetdm/fleet
synced 2026-04-30 18:07:56 +00:00
Enabling setting host status webhook at the team level via REST API and fleetctl apply/gitops. #14916 Example payload: ```json { "data": { "days_unseen": 3, "host_ids": [ 10724, 10726, 10738, 10739, 10740, 10741, 10742, 10744, 10745, 10746, 10747, 10748, 10749 ], "team_id": 3, "total_hosts": 15, "unseen_hosts": 13 }, "text": "More than 86.67% of your hosts have not checked into Fleet for more than 3 days. You've been sent this message because the Host status webhook is enabled in your Fleet instance." } ``` # Checklist for submitter - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [x] Added/updated tests - [x] Manual QA for all new/changed functionality
71 lines
1.6 KiB
YAML
71 lines
1.6 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_updates:
|
|
minimum_version: null
|
|
deadline: null
|
|
windows_updates:
|
|
deadline_days: null
|
|
grace_period_days: null
|
|
macos_settings:
|
|
custom_settings:
|
|
windows_settings:
|
|
custom_settings:
|
|
macos_setup:
|
|
bootstrap_package:
|
|
enable_end_user_authentication: false
|
|
macos_setup_assistant:
|
|
scripts: null
|
|
webhook_settings:
|
|
host_status_webhook: null
|
|
name: team1
|
|
---
|
|
apiVersion: v1
|
|
kind: team
|
|
spec:
|
|
team:
|
|
agent_options:
|
|
config:
|
|
foo: bar
|
|
overrides:
|
|
platforms:
|
|
darwin:
|
|
foo: override
|
|
features:
|
|
additional_queries:
|
|
foo: bar
|
|
enable_host_users: false
|
|
enable_software_inventory: false
|
|
host_expiry_settings:
|
|
host_expiry_enabled: true
|
|
host_expiry_window: 15
|
|
mdm:
|
|
enable_disk_encryption: false
|
|
macos_updates:
|
|
minimum_version: "12.3.1"
|
|
deadline: "2021-12-14"
|
|
windows_updates:
|
|
deadline_days: 7
|
|
grace_period_days: 3
|
|
macos_settings:
|
|
custom_settings:
|
|
windows_settings:
|
|
custom_settings:
|
|
macos_setup:
|
|
bootstrap_package:
|
|
enable_end_user_authentication: false
|
|
macos_setup_assistant:
|
|
scripts: null
|
|
webhook_settings:
|
|
host_status_webhook: null
|
|
name: team2
|