Related user story
#48005
Task
We need website changes to receive and store the new statistics fields:
numPoliciesAutomationEnabledSoftware (number)
fleetMaintainedAppsMacOS and fleetMaintainedAppsWindows change from an array of strings to an array of objects with name (string), patchPolicy (boolean), and softwareAutomation (boolean).
Note: Fleet servers before v4.91 keep sending the old array-of-strings shape to the same endpoint indefinitely, so these inputs need to accept both shapes (type: 'json'). A strict ['string'] or strict object type rejects one of them, and Sails turns that into a 400 for the entire usage-stats payload.
Related user story
#48005
Task
We need website changes to receive and store the new statistics fields:
numPoliciesAutomationEnabledSoftware(number)fleetMaintainedAppsMacOSandfleetMaintainedAppsWindowschange from an array of strings to an array of objects withname(string),patchPolicy(boolean), andsoftwareAutomation(boolean).Note: Fleet servers before v4.91 keep sending the old array-of-strings shape to the same endpoint indefinitely, so these inputs need to accept both shapes (
type: 'json'). A strict['string']or strict object type rejects one of them, and Sails turns that into a 400 for the entire usage-stats payload.