class CycloneDX::VulnerabilityRating

Included Modules

Defined in:

cyclonedx/vulnerability.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(score : Float64 | Nil = nil, severity : String | Nil = nil, method : String | Nil = nil, vector : String | Nil = nil, source : VulnerabilitySource | Nil = nil) #

[View source]

Instance Method Detail

def method : String | Nil #

[View source]
def score : Float64 | Nil #

[View source]
def severity : String | Nil #

[View source]
def source : VulnerabilitySource | Nil #

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

[View source]
def vector : String | Nil #

[View source]