Vex::Statement
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(status : Status, vulnerability : Vulnerability | Nil = nil, products : Array(Product) | Nil = nil, id : String | Nil = nil, version : Int32 | Nil = nil, timestamp : Time | Nil = nil, last_updated : Time | Nil = nil, status_notes : String | Nil = nil, justification : Justification | Nil = nil, impact_statement : String | Nil = nil, action_statement : String | Nil = nil, action_statement_timestamp : Time | Nil = nil, supplier : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
action_statement
Sourceaction_statement_timestamp
Sourcehash(hasher)
See Object#hash(hasher)
id
Sourceimpact_statement
Sourcejustification
Sourcejustification=(justification : Justification | Nil)
Sourcelast_updated
Sourceproducts
Sourcestatus
Sourcestatus=(status : Status)
Sourcestatus_notes
Sourcesupplier
Sourcetimestamp
Sourcevalid?
Sourcevalidate
Returns an array of validation errors. Empty array means the statement is valid per the OpenVEX spec's conditional-field rules.
version
Sourcevulnerability
Sourcevulnerability=(vulnerability : Vulnerability | Nil)
Source