Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 
GeneSteinbacher
Advocate

Ever wonder why your Data Feed will not work with Qualys.  Seems the second version of Qualys API supports a different type of authentication than used by the Data Feed HTTP Transporter.  But you can get around this by putting the authentication information in the header.  This document provides instructions on how to do this.

5 Comments
KentPierson
Contributor

Can you tell me how you did the API call using the V2? I have been told that Qualys API v2 does not work with Archer.

DavidPetty
Archer Employee
Archer Employee

What issues are you having?  The doc above outlines pretty much what you need to do to connect to Qualys API v2.

 

Also you can use the follow PowerShell script to encode BASE64

 

To Base64

$b  = [System.Text.Encoding]::UTF8.GetBytes("username:Passsw0rd!")

[System.Convert]::ToBase64String($b)

From Base64

$b  = [System.Convert]::FromBase64String("SGVsbG8gV29ybGQ=")

[System.Text.Encoding]::UTF8.GetString($b)

KentPierson
Contributor

What is the actual API call? All that is listed is https://qualysapi.qualys.com/api/2.0/
To pull the report with the v1 API I would specify the report template that I needed to pull https://qualysapi.qualys.com/msp/asset_data_report.php?template_id=XXXXXXX. I am not sure what the call would be for the v2 API call.

madhur21jain
Contributor

Hello Kent

 

Were you able to resolve the issue? can you please guide which URL to be used?

 

Thanks in advance.

 

Regards

Madhur Jain

DavidPetty
Archer Employee
Archer Employee