1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-18 12:48:08 +00:00
kube-bench/cmd
Satya Pawan 33f6773a43
Code quality improvements (#677)
* Code quality improvements such -

1. Improves empty string test (len vs str == "")
2. Converts fmt.Sprintf to string literal and Printf to Print where possible (as the dynamic args are missing!)

* Delete .deepsource.toml

Co-authored-by: DeepSource Bot <bot@deepsource.io>
Co-authored-by: Liz Rice <liz@lizrice.com>
2020-09-01 14:50:04 +01:00
..
testdata Fix invalid JSON output (#629) 2020-06-24 10:13:10 +01:00
common_test.go move target mapping to config.yaml - updated version (#682) 2020-08-30 10:16:21 +03:00
common.go Code quality improvements (#677) 2020-09-01 14:50:04 +01:00
database.go move target mapping to config.yaml - updated version (#682) 2020-08-30 10:16:21 +03:00
kubernetes_version_test.go Get Kubernetes Version: Adds Retry Logic (#593) 2020-03-05 10:34:44 -05:00
kubernetes_version.go Code quality improvements (#677) 2020-09-01 14:50:04 +01:00
master.go Warn if kubectl can't autodetect the version (#656) 2020-08-04 18:04:02 +03:00
node.go Warn if kubectl can't autodetect the version (#656) 2020-08-04 18:04:02 +03:00
root.go move target mapping to config.yaml - updated version (#682) 2020-08-30 10:16:21 +03:00
run_test.go Fixes Issue #494 - add tests for CIS 1.5 (#530) 2019-12-05 15:55:44 -05:00
run.go move target mapping to config.yaml - updated version (#682) 2020-08-30 10:16:21 +03:00
util_test.go Add run subcommand (#529) 2019-12-02 15:40:44 +00:00
util.go Code quality improvements (#677) 2020-09-01 14:50:04 +01:00
version.go move target mapping to config.yaml - updated version (#682) 2020-08-30 10:16:21 +03:00