module Kubescape

Defined in:

tasks/utils/kubescape.cr

Class Method Summary

Class Method Detail

def self.alerts_by_test(test_json) #

[View source]
def self.description(test_json) #

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

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

[View source]
def self.remediation(test_json) #

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

[View source]
def self.scan(cmd = "framework nsa --use-from ./tools/kubescape/nsa.json --exclude-namespaces kube-system,kube-public --format json --output kubescape_results.json") #

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


[View source]
def self.score(test_json) #

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

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

[View source]
def self.test_passed?(test_json) #

[View source]