AnsweredAssumed Answered

unable to send RESTful API requests on /qualysapi

Question asked by ps dev on Jun 11, 2018
Latest reply on Jun 11, 2018 by Robert Dell'Immagine

every GET/POST request get this response:
Bad Login/Password

 

for example:

curl -H "X-Requested-With: Curl Sample" -D headers -d "action=login&username=******&password=*******" "https://qualysapi.qg2.apps.qualys.eu/api/2.0/fo/asset/host/?action=list"

401

...<TEXT>Bad Login/Password</TEXT>...

 

in my SOC settings there are only next hosts, no one of them it  *qualysapi.*

Security Operations Center (SOC):

- qualysguard.qg2.apps.qualys.eu:443
- distribution.qg2.apps.qualys.eu:443
- monitoring.qg2.apps.qualys.eu:443
- orchestrator.qg2.apps.qualys.eu:443
- qgadmin.qg2.apps.qualys.eu:443
- scanservice1.qg2.apps.qualys.eu:443

 

how can I add it and use RESTful API?

Thanks!

Attachments

Outcomes