package appstate import "github.com/kolide/kolide-ose/server/kolide" // Labels is the set of builtin labels that should be populated in the // datastore func Labels() []kolide.Label { return []kolide.Label{ { Name: "All Hosts", Query: "select 1;", LabelType: kolide.LabelTypeBuiltIn, }, { Platform: "darwin", Name: "Mac OS X", Query: "select 1 from osquery_info where build_platform = 'darwin';", LabelType: kolide.LabelTypeBuiltIn, }, { Platform: "ubuntu", Name: "Ubuntu Linux", Query: "select 1 from osquery_info where build_platform = 'ubuntu';", LabelType: kolide.LabelTypeBuiltIn, }, { Platform: "centos", Name: "CentOS Linux", Query: "select 1 from osquery_info where build_platform = 'centos';", LabelType: kolide.LabelTypeBuiltIn, }, { Platform: "windows", Name: "MS Windows", Query: "select 1 from osquery_info where build_platform = 'windows';", LabelType: kolide.LabelTypeBuiltIn, }, } }