mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-12-18 12:48:08 +00:00
Save the audit command when requesting json output under the "audit" key
This commit is contained in:
parent
74fd7cd595
commit
e7a8c14715
@ -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"`
|
||||
|
Loading…
Reference in New Issue
Block a user