This is regarding Qualys WAS APIs
We are trying to run Qualys WAS API using below command:
curl -u "USERNAME:PASSWORD" "https://qualysapi.qualys.com/qps/rest/3.0/get/was/wasscan/ID"
We replaced ID with scan id and provided username and password but we got below output:
<?xml version="1.0" encoding="UTF-8"?>
<ServiceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://qualysapi.qualys.com/qps/xsd/3.0/was/wasscan.xsd">
<errorMessage>You are not authorized to access the application through the API.</errorMessage>
<errorResolution>If you think this is an error, please contact your account manager.</errorResolution>
When I checked the permission on Qualys Portal I found that API checkbox is already checked and looks like permission is already granted.
Please share some info to resolve this.
Varun Singhal sharma.poorva88