AnsweredAssumed Answered

How to negate an operation in a Qualys Groovy script?

Question asked by choliday on Feb 10, 2014
Latest reply on Feb 11, 2014 by Parag Baxi

We are attempting to create an asset tag that will show all assets that have a particular QID but are not running a specific service. 

 

Here is the query we have put together listing the assets with the QID and the service, but we need to negate the service. 

 

<?xml version="1.0" encoding="UTF-8"?>

<TAG_CRITERIA>

<DETECTION>

    <QID_LIST>

      <QID>43276</QID>

    </QID_LIST>

  </DETECTION>

  <RUNNING_SERVICES>

    <SERVICE>DNS_SERVER</SERVICE>

  </RUNNING_SERVICES>

</TAG_CRITERIA>

 

Any help would be greatly appreciated.  Thanks

Outcomes