Class: Nexpose::Assessment

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

Overview

Assessment statistics for an asset.

Instance Attribute Summary collapse

Method Summary

Methods inherited from APIObject

#object_from_hash

Instance Attribute Details

#last_scan_dateObject (readonly)

The date an asset was last scanned.



270
271
272
# File 'lib/nexpose/asset.rb', line 270

def last_scan_date
  @last_scan_date
end

#last_scan_idObject (readonly)

The ID of the scan which last assessed the asset.



272
273
274
# File 'lib/nexpose/asset.rb', line 272

def last_scan_id
  @last_scan_id
end

#risk_scoreObject (readonly)

The current risk score of the asset.



274
275
276
# File 'lib/nexpose/asset.rb', line 274

def risk_score
  @risk_score
end