1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-28 01:18:22 +00:00
kube-bench/check
Devendra Turkar b942ed3f0b
bugfix: false negative when audit_config is defined along with audit and config file not found (#1367)
Suppress the file not found error only when we have audit or auditEnv is defined and they have valid output captured.
As, we already have output from audit command. So we can proceed for our tests even though we didnt find config file.
file not found error: `failed to run: "/test/config.yaml", output: "/bin/sh: line 1: /test/config.yaml: No such file or directory\n", error: exit status 127`

Resolve: #1364
2023-02-02 10:32:27 +02:00
..
check_test.go bugfix: false negative when audit_config is defined along with audit and config file not found (#1367) 2023-02-02 10:32:27 +02:00
check.go bugfix: false negative when audit_config is defined along with audit and config file not found (#1367) 2023-02-02 10:32:27 +02:00
controls_test.go Migrate to aws-sdk-go-v2 (#1268) 2022-10-03 08:52:06 +03:00
controls.go Migrate to aws-sdk-go-v2 (#1268) 2022-10-03 08:52:06 +03:00
data Expected result pattern not always shows (#784) 2020-12-24 16:38:22 +02:00
test_test.go chore(lint): setup golangci-lint (#1144) 2022-04-05 16:25:45 +03:00
test.go chore(lint): setup golangci-lint (#1144) 2022-04-05 16:25:45 +03:00