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.
By default, Qualys Cloud Agent APIs support the Basic Authentication scheme using a username and password.
For more details on basic authentication, refer to RFC 2617 - HTTP Authentication.
The exact method of implementing authentication will vary depending on the programming language used.
API Request Sample:
curl -u fo_username:password -X POST -H "Content-Type: text/xml"
-H "Cache-Control: no-cache" --data-binary @activate_all_agents.xml
"<qualys_base_url>/qps/rest/2.0/activate/am/asset"
where <qualys_base_url> is the base API URL to the Qualys API server where your account is located.
To access the Qualys APIs, the user must have been created from the Qualys user interface with proper permissions, such as API access permission, Cloud Agent permissions, and access to required Qualys applications.