api/2.0/fo/scan/compliance/?action=list
[GET] [POST]
This API is used to list SCAP scans in the user's account. By default scans launched in the past 30 days are listed.
Click here to view all scan list parameters.
API request
curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" -d "action=list" "https://qualysapi.qualys.com/api/2.0/fo/scan/scap/"
API request
curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" -d "action=list&scan_ref=qscap/1402642816.80342" "https://qualysapi.qualys.com/api/2.0/fo/scan/scap/"
API request
curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" -d "action=list&type=On-Demand" "https://qualysapi.qualys.com/api/2.0/fo/scan/scap/"
XML output
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE SCAN_LIST_OUTPUT SYSTEM "https://qualysapi.qualys.com/api/2.0/fo/scan/scap/qscap_scan_list_output.dtd">
<SCAN_LIST_OUTPUT>
<RESPONSE>
<DATETIME>2018-03-13T22:56:19Z</DATETIME>
<SCAN_LIST>
<SCAN>
<ID>6980366</ID>
<REF>qscap/1402694682.80366</REF>
<TYPE>On-Demand</TYPE>
<TITLE><![CDATA[<IMG SRC="http://www.google.com/images/logos/ps_logo2.png">]]></TITLE>
<POLICY>
<ID>39298</ID>
<TITLE><![CDATA[Policy A]]></TITLE>
</POLICY>
<USER_LOGIN>acme_ab</USER_LOGIN>
<LAUNCH_DATETIME>2018-03-13T21:24:42Z</LAUNCH_DATETIME>
<STATUS>
<STATE>Finished</STATE>
</STATUS>
<TARGET><![CDATA[10.10.30.244, 10.10.34.222]]></TARGET>
...
</SCAN_LIST>
</RESPONSE>
</SCAN_LIST_OUTPUT>
<platform API server>/api/2.0/fo/scan/qscap_scan_list_output.dtd