Website: Update usage statistics webhook inputs and HistoricalUsageSnapshot model. (#15180)
Closes: #11812 Changes: - Renamed the `hostStatusWebhookEnabled` attribute of the `HistoricalUsageSnapshot` model to `hostsStatusWebHookEnabled` and updated the definition to use the existing database column name. - Updated the inputs of the `receive-usage-analytics` webhook to accept a `hostsStatusWebHookEnabled` input. - Updated the usage statistics documentation to have the [correct variable name](https://github.com/fleetdm/fleet/blob/36e12d02e3c4e9dc741a7d5828ac74136f1f404d/server/fleet/statistics.go#L21).
This commit is contained in:
@@ -24,7 +24,7 @@ Below is the JSON payload that is sent to Fleet Device Management Inc:
|
||||
"softwareInventoryEnabled": true,
|
||||
"vulnDetectionEnabled": true,
|
||||
"systemUsersEnabled": true,
|
||||
"hostStatusWebhookEnabled": true,
|
||||
"hostsStatusWebHookEnabled": true,
|
||||
"numWeeklyActiveUsers": 999,
|
||||
"numWeeklyPolicyViolationDaysActual": 999,
|
||||
"numWeeklyPolicyViolationDaysPossible": 999,
|
||||
|
||||
Reference in New Issue
Block a user