AnsweredAssumed Answered

How to pull the list of vulnerabilities for a Vulnerability Management scan through the API?

Question asked by Adam Dershewitz on Oct 30, 2018
Latest reply on Nov 3, 2018 by Adam Dershewitz

I am trying to find the right way to pull the list of vulnerabilities (along with their CVE and Sev info) for a given scan through the API.

 

I currently have my python script pulling the list of scans to get the refIDs. When I use the following url to fetch the scan results it doesn't have all the info I need:

 

'https://qualysguard.qg3.apps.qualys.com/api/2.0/fo/scan/?action=fetch&scan_ref={refID}&output_format=json'

 

Basically: What endpoint do I use to pull the data to mimic what I see in the "Scan->View" report?

Outcomes