Is there a way to download the live host count without downloading the entire scan results?
The scan results have them:
What if you just ran a light scan like TCP/UDP services. That would give you a smaller scan to download. I will need to check the API Reference but I think if you indicate a scan_ref you get the entire scan not parts; that is more geared to a report.
You could use the scan ref to create a scan based report that only includes the summary info you need though.
Don't want to run 2 scans, though.
Q, I still need to consult the API guides but if you build a report off of a scan you could just create a report that gives the summary information and nothing more.
I will try to check the API today and see if I have any additional recommendations.
In looking at the API Document:https://www.qualys.com/docs/qualys-api-vmpc-user-guide.pdf
When you fetch the scan you can use the scan ref but also include the parameter mode=brief I have not tested but that may give you lighter version. What you could also try is just downloading the list of scans it may contain the information you need in the scan summary?
Have you tried that or would you like me to kinda test that?
Thanks, David. The brief mode still gives quite a lot of detail:
The brief output includes this information: IP address, DNS hostname, NetBIOS hostname, QID and scan test results if applicable.
Creating scan reports would require the following for every scan (after initially creating a scan report template):
Given that this information is readily available in the UX, was wondering if it could be possible to grab via the API.
I will check and if I just download a summary like the scans that are complete to see what I get.
Update you tomorrow.
I was able to confirm that if you download the list of scans this information is not currently provided. You might want to set a Feature Request to add the information. If you need help let me know but that will not satisfy you in the near term; sorry I do not have a better answer for you at this time. Maybe Qualys Support knows something I don't.
Retrieving data ...