class Saint::Vulnerability

Public Instance Methods

process_field_value(method) click to toggle source
# File lib/saint/vulnerability.rb, line 11
def process_field_value(method)
  @xml.xpath("./#{method.to_s}").first.try(:text)
end
supported_tags() click to toggle source
# File lib/saint/vulnerability.rb, line 3
def supported_tags
  [
    :description, :hostname, :ipaddr, :hosttype, :scan_time, :status,
    :severity, :cve, :cvss_base_score, :impact, :background, :problem,
    :resolution, :reference
  ]
end