Download QualysGuard(R) WAS API User Guide

Transcript
Chapter 10 — Progressive Scanning
Web Application API
instance"
xsi:noNamespaceSchemaLocation="https://qualysapi.qualys.com/qps/xs
d/3.0/was/webapp.xsd">
<responseCode>SUCCESS</responseCode>
<count>1</count>
<data>
<WebApp>
<id>1912949</id>
<name><![CDATA[My Web Application]]></name>
<url><![CDATA[http://mywebapp.com]]]></url>
...
<scannerLocked>false</scannerLocked>
<progressiveScanning>false</progressiveScanning>
...
XML output (error):
If Progressive Scanning is not enabled for the subscription, the progressiveScanning
element cannot not be provided, otherwise an error will be returned.
<ServiceResponse
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://qualysapi.qualys.com/qps/xs
d/3.0/was/webapp.xsd">
<responseCode>INVALID_REQUEST</responseCode>
<responseErrorDetails>
<errorMessage>Progressive scanning is not enabled in your
subscription.</errorMessage>
<errorResolution>Please check with your account manager to
enable this option.</errorResolution>
</responseErrorDetails>
</ServiceResponse>
GET web application
If Progressive Scanning is enabled for the subscription, the progressiveScanning element
is displayed in GET call responses. If Progressive Scanning is not enabled for the
subscription, the element is not included.
For all existing web applications created prior to WAS 4.0 the value will be set to TRUE
by default.
API request:
Qualys Web Application Scanning API
261