From e7a8c147150d2fd930da367ebfd250782038cea4 Mon Sep 17 00:00:00 2001
From: Yoav Hizkiahou <yoav.hizkiahou@aquasec.com>
Date: Sun, 19 May 2019 11:23:44 +0300
Subject: [PATCH] Save the audit command when requesting json output under the
 "audit" key

---
 check/check.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/check/check.go b/check/check.go
index 6a95496..3c7884f 100644
--- a/check/check.go
+++ b/check/check.go
@@ -62,7 +62,7 @@ func handleError(err error, context string) (errmsg string) {
 type Check struct {
 	ID          string      `yaml:"id" json:"test_number"`
 	Text        string      `json:"test_desc"`
-	Audit       string      `json:"omit"`
+	Audit       string      `json:"audit"`
 	Type        string      `json:"type"`
 	Commands    []*exec.Cmd `json:"omit"`
 	Tests       *tests      `json:"omit"`
-- 
GitLab