Class: Nexpose::VulnerabilitySummary

Inherits:
Object
  • Object
show all
Defined in:
lib/nexpose.rb

Overview

Description

Object that represents the summary of an entry in the vulnerability database

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, title, severity) ⇒ VulnerabilitySummary

Constructor VulnerabilitySummary(id, title, severity)



1877
1878
1879
1880
1881
1882
# File 'lib/nexpose.rb', line 1877

def initialize(id, title, severity)
	@id = id
	@title = title
	@severity = severity

end

Instance Attribute Details

#idObject (readonly)

The unique ID string for this vulnerability



1869
1870
1871
# File 'lib/nexpose.rb', line 1869

def id
  @id
end

#severityObject (readonly)

The severity of this vulnerability (1 – 10)



1873
1874
1875
# File 'lib/nexpose.rb', line 1873

def severity
  @severity
end

#titleObject (readonly)

The title of this vulnerability



1871
1872
1873
# File 'lib/nexpose.rb', line 1871

def title
  @title
end