AnsweredAssumed Answered

Dashboard Metrics via API calls

Question asked by Byron Fackenthall on Jan 18, 2018
Latest reply on Jan 18, 2018 by Jeff Leggett

I need to pull in some info to display in dashboards internally.  The first item is scan activity which is pretty easy with the default request. 

 

https://qualysapi.qg2.apps.qualys.com/api/2.0/fo/scan/?action=list&show_ags=1&show_op=1

 

This one has great info but I need to also get the number of targets scanned and the number that were live.  There is a target element that I could write some code to code count the number of IP’s that are listed there but I do not see any info about how many were alive.  I’m essentially looking for the Target count and Total Hosts Alive numbers visible when you click on the scan. I downloaded a scan report but didn’t find it in there.  

Outcomes