Module: Nessus::Client::File
- Included in:
- Nessus::Client
- Defined in:
- lib/nessus/client/file.rb
Overview
Instance Method Summary collapse
-
#report_download(uuid) ⇒ String
GET /file/report/download.
-
#xslt_list ⇒ Array<Hash>
GET /file/xslt/list.
Instance Method Details
#report_download(uuid) ⇒ String
GET /file/report/download
9 10 11 12 |
# 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 ⇒ Array<Hash>
GET /file/xslt/list
17 18 19 20 |
# File 'lib/nessus/client/file.rb', line 17 def xslt_list response = post '/file/xslt/list' response['reply']['contents'] end |