Qualys User Account
The application must authenticate using Qualys account credentials (user name and password) as part of the HTTP request. The credentials are transmitted using the Basic Authentication Scheme over HTTPS.
For more information, see the Basic Authentication Scheme section of RFC #2617 http://www.faqs.org/rfcs/rfc2617.html
The exact method of implementing authentication will vary according to which programming language is used.
Basic authentication - recommended option:
curl -u "USERNAME:PASSWORD" <qualys_base_url>/qps/rest/1.0/download/cm/alert
where, <qualys_base_url>
is the base URL to the Qualys API server where your account is located.
URL to Qualys API Server
The Qualys API URL you should use for API requests depends on the Qualys platform where your account is located. Click here to identify your Qualys platform and get the API URL.
This documentation uses the <qualys_base_url>
for API server URL in sample API requests. Please replace this URL with the appropriate server URL for your account.