The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

What is the GraphQL command to get a list of all the scans that Burp Suite is currently holding?

Glenn | Last updated: Oct 06, 2020 12:34PM UTC

I need to get a list of every scan that Burp Suite Enterprise has run and currently is storing. These should be Scheduled, Complete, Failed and Cancelled. I do not need to see those that are currently being scanned. Thanks, Glenn

Michelle, PortSwigger Agent | Last updated: Oct 06, 2020 01:52PM UTC

Hi You can query the scans and filter on the scan status, for example: query ScanInfo { scans(scan_status:[failed,cancelled,succeeded]){ id site_id status } } To get details on schedules that have been configured for scans you can use the following query: query GetScheduleItem { schedule_items { id site{id,name} schedule { rrule initial_run_time } scheduled_run_time has_run_more_than_once } } Please let us know if you have any further questions.

Glenn | Last updated: Oct 06, 2020 04:43PM UTC

When I run the query, I get a list of scans but it is only showing me scans from today and yesterday. Is there a way of getting all the scans for say the past month?

Michelle, PortSwigger Agent | Last updated: Oct 07, 2020 08:53AM UTC

By default when using the query listed, the details for 50 scans will be returned. You can pass in limit and offset as additional arguments to return details in pages, for example: query ScanInfo { scans(offset: 0, limit: 100, scan_status:[failed,cancelled,succeeded]){ id site_id status } } Let us know if this helps or if you have further questions.

Wayne | Last updated: Feb 28, 2024 10:01AM UTC

is there any option to filter the scan based on scan_target name ( may be using regex)? query Scan{ scans(limit:1000,scan_status:[succeeded]){ status id scan_target{ name } start_time end_time } }

Maia, PortSwigger Agent | Last updated: Feb 28, 2024 03:08PM UTC