1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-18 20:58:10 +00:00

Save the audit command when requesting json output under the "audit" key

This commit is contained in:
Yoav Hizkiahou 2019-05-19 11:23:44 +03:00
parent 74fd7cd595
commit e7a8c14715

View File

@ -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"`