AnsweredAssumed Answered

Api call to evaluate tags

Question asked by Kevin Ryan on Jan 23, 2020

Good Day, 

 

I am following the directions on page 36 of https://www.qualys.com/docs/qualys-asset-management-tagging-api-v2-user-guide.pdf 

 

However,  the command never seems to finish.  Additionally when I check on some of the asset tags they do not have an updated evaluation date. 

 

Here is the command I am issuing 

curl -u "redact/redact " -H "content-type: text/xml" -X "POST" --data-binary @- "https://qualysapi.qg3.apps.qualys.com/qps/rest/2.0/evaluate/am/tag" file.xml

 

Here is the contents of the file.xml:

 

<?xml version="1.0" encoding="UTF-8" ?>
<ServiceRequest>
 <filters>
 <Criteria field="ruleType" operator="EQUALS">ASSET_SEARCH</Criteria>
 </filters>
</ServiceRequest>

 

Any suggestions would be appreciated ! 

 

Thanks 

 

Kevin 

Outcomes