module Nessus::Client::File

@author Erran Carey <me@errancarey.com>

Public Instance Methods

report_download(uuid) click to toggle source

GET /file/report/download

@param [String] uuid the unique ID (name) of the report to download @return [String] the specified report as an XML string

# File lib/nessus/client/file.rb, line 9
def report_download(uuid)
  resp = connection.get '/file/report/download', :report => uuid
  resp.body
end
xslt_list() click to toggle source

GET /file/xslt/list

@return [Array<Hash>] an object containing a list of XSLT transformations

# File lib/nessus/client/file.rb, line 17
def xslt_list
  response = post '/file/xslt/list'
  response['reply']['contents']
end