Class: Nexpose::VulnerabilitySummary

Inherits:
Object
  • Object
show all
Defined in:
lib/nexpose/vuln.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)



382
383
384
385
386
387
# File 'lib/nexpose/vuln.rb', line 382

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

end

Instance Attribute Details

#idObject (readonly)

The unique ID string for this vulnerability



374
375
376
# File 'lib/nexpose/vuln.rb', line 374

def id
  @id
end

#severityObject (readonly)

The severity of this vulnerability (1 – 10)



378
379
380
# File 'lib/nexpose/vuln.rb', line 378

def severity
  @severity
end

#titleObject (readonly)

The title of this vulnerability



376
377
378
# File 'lib/nexpose/vuln.rb', line 376

def title
  @title
end