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)



2228
2229
2230
2231
2232
2233
# File 'lib/nexpose.rb', line 2228

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

end

Instance Attribute Details

#idObject (readonly)

The unique ID string for this vulnerability



2220
2221
2222
# File 'lib/nexpose.rb', line 2220

def id
  @id
end

#severityObject (readonly)

The severity of this vulnerability (1 – 10)



2224
2225
2226
# File 'lib/nexpose.rb', line 2224

def severity
  @severity
end

#titleObject (readonly)

The title of this vulnerability



2222
2223
2224
# File 'lib/nexpose.rb', line 2222

def title
  @title
end