Module: Nessus::Client::Report2

Included in:
Nessus::Client
Defined in:
lib/nessus/client/report2.rb

Overview

Author:

Instance Method Summary collapse

Instance Method Details

#report2_hosts(report) ⇒ Object

POST /report/ports

Parameters:

  • report (String)

    unique identifier

  • hostname (String)

    name of host to display open ports for

Returns:

  • an object containing a list of open ports on a specified host



11
12
13
14
15
16
17
# File 'lib/nessus/client/report2.rb', line 11

def report2_hosts(report)
  arguments = {
                :report => report,
              }
  response = post '/report2/hosts', arguments
  response
end