From 0b9ace9bcd825600bd1e7052a1208f330ded7209 Mon Sep 17 00:00:00 2001 From: Javier Marcos Date: Tue, 5 Nov 2019 16:06:50 -0800 Subject: [PATCH] Hidding API queries --- cmd/admin/templates/queries-logs.html | 2 +- cmd/api/handlers-queries.go | 29 +++++++++++++++-- cmd/api/main.go | 8 +++-- cmd/tls/handlers-tls.go | 2 +- pkg/queries/queries.go | 47 ++++++++++++++++++++++++--- pkg/queries/utils.go | 28 ---------------- pkg/types/osquery.go | 2 +- 7 files changed, 77 insertions(+), 41 deletions(-) delete mode 100644 pkg/queries/utils.go diff --git a/cmd/admin/templates/queries-logs.html b/cmd/admin/templates/queries-logs.html index 442f5d58..eccde041 100644 --- a/cmd/admin/templates/queries-logs.html +++ b/cmd/admin/templates/queries-logs.html @@ -29,7 +29,7 @@ [ ACTIVE ] - Results for {{ .Name }} {{ end }} {{ if $template.ResultsLink }} - - + - {{ end }}