fleet/website/api/models
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
..
CertificateSigningRequest.js Update CertificateSigningRequest model (#9585) 2023-01-31 13:47:57 -06:00
HistoricalUsageSnapshot.js Website: add new usage statistics (#19315) 2024-06-04 18:36:25 -05:00
NewsletterSubscription.js Website: Add Newsletter banner and NewsletterSubscription model (#7370) 2022-09-02 17:38:34 -05:00
Platform.js Website: Create Platform model and use platform record to track mergefreeze status. (#13681) 2023-09-05 16:31:40 -05:00
Quote.js Add customer portal and license dispenser to fleetdm.com (#3546) 2022-01-04 20:02:42 -06:00
Subscription.js Add customer portal and license dispenser to fleetdm.com (#3546) 2022-01-04 20:02:42 -06:00
User.js Website: add psychologicalStage to User model (#18408) 2024-04-18 21:18:36 -05:00
VantaConnection.js Website: Add Vanta integration (#9072) 2022-12-21 23:39:39 -06:00