I need to find a way to download automatically the result of the discovery maps I ran in the last x days, using API. I didn't find a way to do it. Anybody can help?
When you say "map results", you are talking about the list in "Vulnerability Management" > Scans > Maps, right?
In that case, I found a way to list and download these maps results using API v1.
API v1 :
https://www.qualys.com/docs/qualys-api-v1-user-guide.pdf (page 72)
List your map results :
curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" "https://qualysapi.qualys.com/msp/map_report_list.php"
Download a map result :
curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" "https://qualysapi.qualys.com/msp/map_report.php?ref=map/1111111111.11111"
Obviously, you need to replace the reference "map/1111111111.11111" with yours.
Hope it helps
Thanks, works perfectly!
Retrieving data ...