module Kubescape
Defined in:
tasks/utils/kubescape.crClass Method Summary
- .control_results_file(control_id)
- .filter_cnf_resources(test_report : TestReport, resource_keys : Array(String)) : TestReport
- .parse(results_file = "kubescape_results.json")
- .parse_test_report(test_json : JSON::Any)
-
.scan(cli : String | Nil = nil, control_id : String | Nil = nil)
kubescape scan framework nsa --exclude-namespaces kube-system,kube-public
- .test_by_test_name(results_json, test_name)
Class Method Detail
def self.filter_cnf_resources(test_report : TestReport, resource_keys : Array(String)) : TestReport
#
kubescape scan framework nsa --exclude-namespaces kube-system,kube-public