AnsweredAssumed Answered

WAS - All detections for web application with a tag "PROD"

Question asked by Tom S on Apr 7, 2020
Latest reply on Apr 7, 2020 by Dave Ferguson

All my web applications are tagged with "PROD".

 

Is there a way to pull all finding (detection's) for web application with given tag?

 

https://{{base_url}}/qps/rest/3.0/get/was/finding/

 

<ServiceRequest>
<filters>
<Criteria field="webApp.tags.name" operator="EQUALS">PROD</Criteria>
</filters>
</ServiceRequest>

 

I tried the above but its not working:

 

https://{{base_url}}/qps/rest/3.0/search/was/finding

 

<ServiceRequest>
  <preferences>
  <verbose>true</verbose>
  </preferences>
  <filters>
    <Criteria field="webApp.tags.name" operator="EQUALS">PROD</Criteria>
  </filters>
</ServiceRequest>

 

This returns results but is this the best way to go and get all detection with finding details in this case?

 

I am using Postman for this test. My concern is that part of the response is hasMoreRecords = true and response has only count of 100. How to workaround this limitation?

 

    <responseCode>SUCCESS</responseCode>
    <count>100</count>
    <hasMoreRecords>true</hasMoreRecords>

Outcomes