AnsweredAssumed Answered

Search Host Assets API endpoint boolean operators not supported?

Question asked by Alexandre Philbert on Jan 18, 2019
Latest reply on Jan 23, 2019 by Alexandre Philbert

Here is the documentation for reference (page 67): https://www.qualys.com/docs/qualys-asset-management-tagging-api-v2-user-guide.pdf 

 

Is it possible to perform a search using the API which would be equivalent to:

tags.name: "Tag A" or tags.name: "Tag B"

 

Here is a sample of what I have:

<ServiceRequest>
<filters>
   <Criteria field="tagName" operator="EQUALS">Tag A</Criteria>
   <Criteria field="tagName" operator="EQUALS">Tag B</Criteria>
</filters>
</ServiceRequest>

 

It seems like the "criteria" (a.k.a. filters) are all "and-ed" together. Is there a way to change this default behaviour?

Outcomes