Class: VulnerabilityWithSecondStep

Inherits:
Domain::Model show all
Defined in:
lib/domain/vulnerability/model.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Domain::Model

columns, from_csv, from_json, headers, table_name, #to_csv, #to_hash, #to_s, view

Constructor Details

#initialize(attributes = {}) ⇒ VulnerabilityWithSecondStep

Returns a new instance of VulnerabilityWithSecondStep.



168
169
170
# File 'lib/domain/vulnerability/model.rb', line 168

def initialize(attributes = {})
  super(attributes)
end

Instance Attribute Details

#all_articlesObject

Returns the value of attribute all_articles.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def all_articles
  @all_articles
end

#assigning_cnaObject

Returns the value of attribute assigning_cna.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def assigning_cna
  @assigning_cna
end

#base_scoreObject

Returns the value of attribute base_score.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def base_score
  @base_score
end

#cve_numberObject

Returns the value of attribute cve_number.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def cve_number
  @cve_number
end

#cve_titleObject

Returns the value of attribute cve_title.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def cve_title
  @cve_title
end

#executive_summaryObject

Returns the value of attribute executive_summary.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def executive_summary
  @executive_summary
end

#exploitability_assessmentObject

Returns the value of attribute exploitability_assessment.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def exploitability_assessment
  @exploitability_assessment
end

#exploitedObject

Returns the value of attribute exploited.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def exploited
  @exploited
end

#faqObject

Returns the value of attribute faq.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def faq
  @faq
end

#impactObject

Returns the value of attribute impact.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def impact
  @impact
end

#is_zero_dayObject

Returns the value of attribute is_zero_day.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def is_zero_day
  @is_zero_day
end

#last_updatedObject

Returns the value of attribute last_updated.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def last_updated
  @last_updated
end

#max_severityObject

Returns the value of attribute max_severity.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def max_severity
  @max_severity
end

#mitigationsObject

Returns the value of attribute mitigations.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def mitigations
  @mitigations
end

#publicly_disclosedObject

Returns the value of attribute publicly_disclosed.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def publicly_disclosed
  @publicly_disclosed
end

#release_dateObject

Returns the value of attribute release_date.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def release_date
  @release_date
end

#requires_config_changeObject

Returns the value of attribute requires_config_change.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def requires_config_change
  @requires_config_change
end

#requires_patchObject

Returns the value of attribute requires_patch.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def requires_patch
  @requires_patch
end

#sbg_affected_devicesObject

Returns the value of attribute sbg_affected_devices.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def sbg_affected_devices
  @sbg_affected_devices
end

#security_updatesObject

Returns the value of attribute security_updates.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def security_updates
  @security_updates
end

#tagObject

Returns the value of attribute tag.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def tag
  @tag
end

#temporal_scoreObject

Returns the value of attribute temporal_score.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def temporal_score
  @temporal_score
end

#vector_stringObject

Returns the value of attribute vector_string.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def vector_string
  @vector_string
end

#workaroundsObject

Returns the value of attribute workarounds.



143
144
145
# File 'lib/domain/vulnerability/model.rb', line 143

def workarounds
  @workarounds
end

Class Method Details

.primary_keyObject



172
173
174
# File 'lib/domain/vulnerability/model.rb', line 172

def self.primary_key
  %w[cve_number last_updated]
end