AnsweredAssumed Answered

Qualys API unauthorized to add host assets

Question asked by Jon Ang on Jan 22, 2019
Latest reply on Jan 22, 2019 by Jon Ang

Hi, i am currently using postman to test out the Qualys API. While trying to add IP assets, I received an error code 2010 with a message saying "User unauthorized to add host assets to policy compliance.". I am using a manager account and have no problem adding the host assets via the GUI. Below is the http string: https://qualysguard.qualys.eu/api/2.0/fo/asset/ip/?action=add&enable_vm=1&enable_pc=1&ips=10.55.10.100  with header "X-Requested-With" and authorization set.

 

Does anyone know what seems to be the problem?

Outcomes