Hi,all
Is there any API endpoint to know if my VM scan is finished or is being processed by giving scan reference as input i.e to retrieve its status. It's there in web application module (WAS) module. But i haven't come across it in VM module.
Hi,all
Is there any API endpoint to know if my VM scan is finished or is being processed by giving scan reference as input i.e to retrieve its status. It's there in web application module (WAS) module. But i haven't come across it in VM module.
Ahmer,
Yes
You need to look at the scan status.
Basically you would have an action=fetch&output_format=json_extended&scan_ref ... you need to look up the scan status.
Example something like: https: //qualysapi.qualys.com:443/api/2.0/fo/scan to get the details of a SCAN.
To get the status of many scans you can do something like: same URL above (refer to documentation) but then action=list%&type=API&launched_after_datetime=xx& and you should be able to say limit to the status=finished
Let me know if you need a specific example call.
David
Ahmer,
Yes
You need to look at the scan status.
Basically you would have an action=fetch&output_format=json_extended&scan_ref ... you need to look up the scan status.
Example something like: https: //qualysapi.qualys.com:443/api/2.0/fo/scan to get the details of a SCAN.
To get the status of many scans you can do something like: same URL above (refer to documentation) but then action=list%&type=API&launched_after_datetime=xx& and you should be able to say limit to the status=finished
Let me know if you need a specific example call.
David