1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-23 15:18:07 +00:00
kube-bench/check
Yoav Rotem 0cb302761c
Add logging (#822)
* Add more logging

The old logging could was lacking and in some cases misleading

* Add Logging

Add more logs and change some old messages, the important part is make each test log more readable by adding ------ test id ------ section in logs

* Fix typos

* more info

add more info in comment about the function and it use cases

Co-authored-by: Liz Rice <liz@lizrice.com>

* Use switch case

Change the logic from if to switch and tidy up the code
2021-03-22 17:33:53 +02:00
..
check_test.go Refactor group skip (#783) 2020-12-21 13:18:54 +02:00
check.go Add logging (#822) 2021-03-22 17:33:53 +02:00
controls_test.go Refactor group skip (#783) 2020-12-21 13:18:54 +02:00
controls.go Refactor group skip (#783) 2020-12-21 13:18:54 +02:00
data Expected result pattern not always shows (#784) 2020-12-24 16:38:22 +02:00
test_test.go Expected result pattern not always shows (#784) 2020-12-24 16:38:22 +02:00
test.go Add logging (#822) 2021-03-22 17:33:53 +02:00