AnsweredAssumed Answered

Qualys API call using Asset Tags instead of Asset Groups

Question asked by downinej on Apr 18, 2013

Can you perform a Qualys APIcommand: https://qualysapi.qualys.com/msp/asset_data_report.php?template_id=xxx

 

Usinga report template that does not have any asset groups or IP addresses define,but DOES have Asset Tags defined and receive data?

 

Thereason I ask is whenever we try and do this command we getthis response:

 

ASSET_DATA_REPORT>

<ERROR number="24104">No targets hosts are defined for'template_id' : xxxx. It may be that asset groups in the user account weredeleted or asset permissions in the account were changed, so that you can nolonger access certain assets. Edit your report template to select hosts toinclude in the report. If you do not have permission to edit the template,please contact your account administrator..</ERROR>

</ASSET_DATA_REPORT>

 

 

Butif I run this same report template through the GUI it works fine.

Outcomes