Is there a way to download the live host count without downloading the entire scan results?
The scan results have them:
<KEY value="NBHOST_ALIVE">14</KEY>
Is there a way to download the live host count without downloading the entire scan results?
The scan results have them:
<KEY value="NBHOST_ALIVE">14</KEY>
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.
David
Q,
In looking at the API Document:https://www.qualys.com/docs/qualys-api-vmpc-user-guide.pdf
Page 33
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?
David
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.
Parag,
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.
David
Q,
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.
David