A release of QualysGuard® Web Application Scanning 2.4.1 with a new scan option will be available in production in the EU on February 7, 2013. This release is completely transparent to users and will require no scheduled downtime. The release will occur between 20:00 GMT and 04:00 AM GMT next day.
Cancel Scan After (n) Hours
We’ve added a new optional element to the API for launching an on-demand scan, using the Launch New Scan API (/qps/rest/3.0/launch/was/wasscan). The new optional element, cancelAfterNHours enables you to specify a number of hours after which the scan will be canceled. When specified, the scan will stop after the selected running time and the scan will have a status of Canceled. Partial scan results may be available if security tests were performed before the scan was canceled.
When used, this element is included in the XML output returned using the View Scan Details API (/qps/rest/3.0/get/was/wasscan/<id>) and Retrieve Results of a Scan API (/qps/rest/3.0/download/was/wasscan/<id>).
Full details regarding these updates will be available in the WAS API User Guide on the day of the release.
Example: Launch a new discovery scan on the web application with the ID 323126 using the option profile with the ID 1021. Set scan to cancel after 1 hour.
curl -u "USERNAME:PASSWORD" -H "content-type: text/xml" -X "POST" -d @- "https://qualysapi.qualys.com/qps/rest/3.0/launch/was/wasscan" < file.xml
Note: “file.xml” contains the request POST data below:
Request POST Data:
<name>New scan launched from API</name>
<name>Cancel After 1 hour</name>
To receive more information on QualysGuard WAS 2.4.1, please visit the QualysGuard WAS community or contact your Technical Account Manager or Qualys' Technical Support Department at firstname.lastname@example.org.