fleet/website/api/controllers/webhooks
Eric 9ea69df576
Website: add new usage statistics (#19315)
Closes: https://github.com/fleetdm/fleet/issues/19308

Changes:
- Added six new attributes to the `HistoricalUsageSnapshot` model (
`numSoftwareVersions`, `numHostSoftwares`, `numSoftwareTitles`,
`numHostSoftwareInstalledPaths`, `numSoftwareCPEs` and
`numSoftwareCVEs`)
- Added inputs to the receive-usage-analytics webhook for the new usage
statistics.


When this PR is merged, we will need to migrate the Fleet website's
database to add the new columns, to do this:
- [x] Make an announcement in Slack to let people know the website will
be offline for ~8 minutes
- [ ] Merge this PR
- [ ] As the deploy action runs, put the website into maintenance mode
- [ ] Add the new columns for the added attributes
- [ ] Set the default value for the new attributes on existing database
records
- [ ] After the deploy workflow is complete, take the website out of
maintenance mode.
2024-06-04 18:36:25 -05:00
..
receive-from-customer-fleet-instance.js fix: return bad request error during MDM migration when appropriate (#16551) 2024-03-06 15:38:44 -05:00
receive-from-github.js Website: uncomment MergeFreeze requests in GitHub webhook (#19449) 2024-06-03 10:44:02 -05:00
receive-from-stripe.js Website: update Stripe webhook to handle changes to subscriptions made in the Stripe UI. (#17225) 2024-03-01 12:00:19 -06:00
receive-usage-analytics.js Website: add new usage statistics (#19315) 2024-06-04 18:36:25 -05:00