class Nexpose::XML::VulnCheck
Vulnerability
Check information.
Attributes
categories[R]
@return [Array] Categories that this check is a member of.
Note that this is note the same as the categories from #list_vuln_categories.
check_id[R]
check_type[R]
@return [String] Check type. @see list_vuln_types
Public Class Methods
new(json)
click to toggle source
# File lib/nexpose/vuln.rb, line 130 def initialize(json) @id = json['Vuln ID'] @check_id = json['Vuln Check ID'] @title = json['Vulnerability'] @severity = json['Severity'].to_i @check_type = json['Check Type'] @categories = json['Category'].split(/, */) end