update hostsEnrolledByOrbitVersion and hostsEnrolledByOsqueryVersion types (#9041)

This commit is contained in:
Eric
2022-12-15 18:13:14 -06:00
committed by GitHub
parent b8c2db08c9
commit f5b60b9667
@@ -24,8 +24,8 @@ module.exports = {
numWeeklyPolicyViolationDaysActual: { type: 'number', defaultsTo: 0 },
numWeeklyPolicyViolationDaysPossible: { type: 'number', defaultsTo: 0 },
hostsEnrolledByOperatingSystem: { type: {}, defaultsTo: {} },
hostsEnrolledByOrbitVersion: { type: [{version: 'string', numEnrolled: 'number'}], defaultsTo: [] }, // TODO: The name of this parameter does not match naming conventions.
hostsEnrolledByOsqueryVersion: { type: [{version: 'string', numEnrolled: 'number'}], defaultsTo: [] }, // TODO: The name of this parameter does not match naming conventions.
hostsEnrolledByOrbitVersion: { type: [{orbitVersion: 'string', numHosts: 'number'}], defaultsTo: [] }, // TODO: The name of this parameter does not match naming conventions.
hostsEnrolledByOsqueryVersion: { type: [{osqueryVersion: 'string', numHosts: 'number'}], defaultsTo: [] }, // TODO: The name of this parameter does not match naming conventions.
storedErrors: { type: [{}], defaultsTo: [] }, // TODO migrate all rows that have "[]" to {}
numHostsNotResponding: { type: 'number', defaultsTo: 0, description: 'The number of hosts per deployment that have not submitted results for distibuted queries. A host is counted as not responding if Fleet hasn\'t received a distributed write to requested distibuted queries for the host during the 2-hour interval since the host was last seen. Hosts that have not been seen for 7 days or more are not counted.', },
organization: { type: 'string', defaultsTo: 'unknown', description: 'For Fleet Premium deployments, the organization registered with the license.', },