Burp Suite User Forum

Create new post

Getting scan results from API

Anton | Last updated: Oct 25, 2020 01:32PM UTC

Hi! I use Burp Suite Professional 2020.9.1. The API works nice, besides that I supposed that using API I will be able to get scan results that were committed from GUI. Requests for these scan results returns an empty JSON. This poses a quit big disadvantage for us. I wonder if this could be changed ? greets, Anton

Liam, PortSwigger Agent | Last updated: Oct 26, 2020 10:25AM UTC

Hi Anton, could you describe the process and provide the API calls you are using to obtain the scan results?

Anton | Last updated: Oct 29, 2020 05:24PM UTC

Hi Liam, 1) Launching GUI, issuing a "crawl and audit" scan through scan launcher, all scan options are set to default, 2) Checking the scan id in the dashboard, 3) Issuing the API request: curl http://localhost:1337/v0.1/scan/<scan id> 4) The API response is: {"type":"ClientError","error":"Task ID not found"} Note that the particular <scan id> do exist and is visible to GUI. greets, Anton

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.