Label API Updates (#413)

close #403
close #404
close #412
This commit is contained in:
Mike Arpaia
2016-11-02 21:17:23 -04:00
committed by GitHub
parent 94106f87e4
commit 97de2bc5aa
14 changed files with 149 additions and 336 deletions
+2 -2
View File
@@ -328,13 +328,13 @@ func createDevLabels(ds kolide.Datastore, config config.KolideConfig) {
CreatedAt: time.Date(2016, time.October, 27, 8, 31, 16, 0, time.UTC),
UpdatedAt: time.Date(2016, time.October, 27, 8, 31, 16, 0, time.UTC),
Name: "dev_label_apache",
QueryID: 4,
Query: "select * from processes where nae like '%Apache%'",
},
{
CreatedAt: time.Now().Add(-1 * time.Hour),
UpdatedAt: time.Now(),
Name: "dev_label_darwin",
QueryID: 5,
Query: "select * from osquery_info where build_platform='darwin'",
},
}