Class: Nexpose::Reference

Inherits:
APIObject show all
Defined in:
lib/nexpose/vuln_def.rb

Overview

External vulnerability reference.

Instance Attribute Summary collapse

Method Summary

Methods inherited from APIObject

#object_from_hash

Instance Attribute Details

#idObject (readonly)

Internal Nexpose identifier of the reference.



168
169
170
# File 'lib/nexpose/vuln_def.rb', line 168

def id
  @id
end

#referenceObject (readonly)

Reference value, such as the full CVE identifier.



170
171
172
# File 'lib/nexpose/vuln_def.rb', line 170

def reference
  @reference
end

#sourceObject (readonly)

Reference source, such as CVE, MS, RedHat, etc.



172
173
174
# File 'lib/nexpose/vuln_def.rb', line 172

def source
  @source
end