class CycloneDX::VulnerabilityAnalysis

Included Modules

Defined in:

cyclonedx/vulnerability.cr

Constant Summary

VALID_JUSTIFICATIONS = ["code_not_present", "code_not_reachable", "requires_configuration", "requires_dependency", "requires_environment", "protected_by_compiler", "protected_at_runtime", "protected_at_perimeter", "protected_by_mitigating_control"]
VALID_STATES = ["resolved", "resolved_with_pedigree", "exploitable", "in_triage", "false_positive", "not_affected"]

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(state : String | Nil = nil, justification : String | Nil = nil, response : Array(String) | Nil = nil, detail : String | Nil = nil) #

[View source]

Instance Method Detail

def detail : String | Nil #

[View source]
def justification : String | Nil #

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

[View source]
def state : String | Nil #

[View source]
def to_xml(xml : XML::Builder) #

[View source]