class Vulnerability

Included Modules

Defined in:

snykout/cli.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.color(string : String) #

[View source]

Instance Method Detail

def add_properties!(type : String) #

[View source]
def base_image : String | Nil #

[View source]
def base_image=(base_image : String | Nil) #

[View source]
def cve : String | Nil #

[View source]
def cve_or_id #

[View source]
def cvss : String | Nil #

[View source]
def cvss_score : Float32 | Nil #

[View source]
def cvss_score=(cvss_score : Float32 | Nil) #

[View source]
def cvss_v3 : String | Nil #

[View source]
def cvss_v3=(cvss_v3 : String | Nil) #

[View source]
def cwe : Array(String) | Nil #

[View source]
def cwe_list(cwes : Array(String) | Nil) #

[View source]
def description : String #

[View source]
def description=(description : String) #

[View source]
def dockerfile_instruction=(dockerfile_instruction : String | Nil) #

[View source]
def dockerfile_instruction? : String | Nil #

[View source]
def fixed_in : String | Nil #

[View source]
def fixed_in_version=(fixed_in_version : String | Nil) #

[View source]
def fixed_in_version? : String | Nil #

[View source]
def get_cve(idents : Hash(String, Array(String)) | Nil) #

[View source]
def get_cwe(idents : Hash(String, Array(String)) | Nil) #

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def identifiers : Hash(String, Array(String)) | Nil #

[View source]
def identifiers=(identifiers : Hash(String, Array(String)) | Nil) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def package_name : String | Nil #

[View source]
def package_name=(package_name : String | Nil) #

[View source]
def severity : String #

[View source]
def severity=(severity : String) #

[View source]
def sort_index #

[View source]
def source? : String? #

[View source]
def summary : String #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]
def type : String | Nil #

[View source]
def version : String #

[View source]
def version=(version : String) #

[View source]