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.



305
306
307
# File 'lib/nexpose/asset.rb', line 305

def last_scan_date
  @last_scan_date
end

#last_scan_idObject (readonly)

The ID of the scan which last assessed the asset.



307
308
309
# File 'lib/nexpose/asset.rb', line 307

def last_scan_id
  @last_scan_id
end

#risk_scoreObject (readonly)

The current risk score of the asset.



309
310
311
# File 'lib/nexpose/asset.rb', line 309

def risk_score
  @risk_score
end