class Nexpose::ReportConfigSummary
Data object for report configuration information. Not meant for use in creating new configurations.
Attributes
config_id[R]
The report definition (config) ID.
generated_on[R]
The date and time the report was generated, in ISO 8601 format.
name[R]
The report config name.
scope[R]
The visibility (scope) of the report definition. One of: (global|silo).
status[R]
The current status of the report. One of: Started|Generated|Failed|Aborted|Unknown
template_id[R]
The ID of the report template.
uri[R]
The URL to use to access the report (not set for database exports).
Public Class Methods
new(config_id, name, template_id, status, generated_on, uri, scope)
click to toggle source
# File lib/nexpose/report.rb, line 103 def initialize(config_id, name, template_id, status, generated_on, uri, scope) @config_id = config_id.to_i @name = name @template_id = template_id @status = status @generated_on = generated_on @uri = uri @scope = scope end
parse(xml)
click to toggle source
# File lib/nexpose/report.rb, line 113 def self.parse(xml) ReportConfigSummary.new(xml.attributes['cfg-id'].to_i, xml.attributes['name'], xml.attributes['template-id'], xml.attributes['status'], xml.attributes['generated-on'], xml.attributes['report-URI'], xml.attributes['scope']) end