Skip navigation
Currently Being Moderated

Get Scan (sample code)

Created by Robert Dell'Immagine on Jun 24, 2010 7:27 PM - Last modified by Eric Perraudeau on Dec 29, 2011 6:02 PM

getscan.pl (Tested with QualysGuard 6.23 and Perl v5.14.1):

 

This script demonstrates how to interact with the QualysGuard scan functions including: Launch a scan, launch a scan and save the report on the QualysGuard server, list saved scan reports, retrieve a saved scan report, list scans in progress, and cancel a running scan.

 

It also demonstrates how to connect to the QualysGuard API (using basic authentication over SSL), how to provide arguments, and how to display the results of interacting with it.

 

This script takes a username and password as the first two command line arguments.

 

 

 


Attachments:
Comments (7)