Method: Nessus::Client::Scan#scan_list

Defined in:
lib/nessus/client/scan.rb

#scan_listArray<Hash>

GET /scan/list

Returns:

  • (Array<Hash>)

    an array of scan hashes



33
34
35
36
# File 'lib/nessus/client/scan.rb', line 33

def scan_list
  response = get '/scan/list'
  response['reply']['contents']
end