API and YAML reference: Add missing interval field for policy automations (#38382)
How we learned we were missing these: https://github.com/fleetdm/fleet/pull/38325#discussion_r2691714596 --------- Co-authored-by: Rachael Shaw <r@rachael.wtf> Co-authored-by: Lucas Manuel Rodriguez <lucas@fleetdm.com>
This commit is contained in:
co-authored by
Rachael Shaw
Lucas Manuel Rodriguez
parent
1ae32f3bb8
commit
c1e2b637f9
@@ -982,6 +982,8 @@ Can only be configured for all teams (`org_settings`).
|
||||
|
||||
The `webhook_settings` section lets you define webhook settings for failing policy, vulnerability, and host status [automations](https://fleetdm.com/docs/using-fleet/automations).
|
||||
|
||||
- `interval` is how often policy webhooks/tickets and host status webhooks are triggered, formatted as number + unit of measurement (e.g. `"90m"`). Can be specified in seconds (`"s"`), minutes (`"m"`), or hours (`"h"`). (Default: `"24h"`)
|
||||
|
||||
#### activities_webhook
|
||||
|
||||
- `enable_activities_webhook` (default: `false`)
|
||||
|
||||
@@ -2190,6 +2190,7 @@ _Available in Fleet Premium._
|
||||
|
||||
| Name | Type | Description |
|
||||
| --------------------- | ----- | ---------------------------------------------------------------------------------------------- |
|
||||
| interval | | string | How often policy webhooks/tickets and host status webhooks are triggered, formatted as number + unit of measurement (e.g. `"90m"`). Can be specified in seconds (`"s"`), minutes (`"m"`), or hours (`"h"`). (Default: `"24h"`) |
|
||||
| host_status_webhook | array | See [`webhook_settings.host_status_webhook`](#webhook-settings-host-status-webhook). |
|
||||
| failing_policies_webhook | array | See [`webhook_settings.failing_policies_webhook`](#webhook-settings-failing-policies-webhook). |
|
||||
| vulnerabilities_webhook | array | See [`webhook_settings.vulnerabilities_webhook`](#webhook-settings-vulnerabilities-webhook). |
|
||||
|
||||
Reference in New Issue
Block a user