AnsweredAssumed Answered

"Limit results" in Asset Management and Tagging API v2 does not work for me

Question asked by Hung Nguyen on Nov 29, 2017
Latest reply on Nov 10, 2018 by jasonl

When using the Asset Management and Tagging API v2, the API doc says that I can limit the amount of information returned in the results by specifying the fields parameter like this:

 

https://qualysapi.qualys.com/qps/rest/2.0/search/am/hostasset?fields=software.*,openPort.*

 

But what I noticed was that it always just returns the data for the first field specified, software in this case, and the following fields are not included in the result. In the above example, when you revert the order of the fields, then openPort data will be returned and software is not included.

 

I'd appreciate any advice on this.

Hung.

Outcomes