module Kubescape

Defined in:

tasks/utils/kubescape.cr

Class Method Summary

Class Method Detail

def self.control_results_file(control_id) #

[View source]
def self.filter_cnf_resources(test_report : TestReport, resource_keys : Array(String)) : TestReport #

[View source]
def self.parse(results_file = "kubescape_results.json") #

[View source]
def self.parse_test_report(test_json : JSON::Any) #

[View source]
def self.scan(cli : String | Nil = nil, control_id : String | Nil = nil) #

kubescape scan framework nsa --exclude-namespaces kube-system,kube-public


[View source]
def self.test_by_test_name(results_json, test_name) #

[View source]