This script, like vulnsummary.pl, demonstrates how to connect to the QualysGuard API, and how to extract and display data from the scan report XML document.
It displays an overall vulnerability score, calculated by adding the severity levels of the individual vulnerabilities detected during a scan.
Note: This script takes a username and password as the first two command line arguments.
Perl versions 5.6.0 and greater are supported.
This script relies on several freely available modules from CPAN. You will need to have the following installed:
- Bundle::LWP — Basic WWW library
- Net::SSL — SSL support
- Requires OpenSSL
- XML::Twig — Handy XML manipulation
- Requires James Clark's expat and XML::Expat
QualysGuard(R) MSP API Sample Code README
@(#)$Revision: 1.13 $
Copyright 2007 by Qualys, Inc. All Rights Reserved.