Burp Suite User Forum

Create new post

graphQL API

GONIN | Last updated: May 11, 2020 02:06PM UTC

Hello, I maybe doing things the wrong way but I am trying to get all issues type of all scans with the API and the request below leads me to error 77 "Unexpected Graph Error". Any help available ? query getIssues { scans{ id status issue_types{ type_index severity } } }

Liam, PortSwigger Agent | Last updated: May 11, 2020 03:41PM UTC

A query to fetch an issue found by a scan would start as follows: query getIssue ($scanId: ID!, $serialNumber: ID!) { issue (scan_id: $scanId, serial_number: $serialNumber) { ... } } - https://portswigger.net/burp/extensibility/enterprise/graphql-api/

GONIN | Last updated: May 12, 2020 08:18AM UTC

I understand it is specified in the documentation. Is there any possibility to extract them for all scans in one request ? In each scans there is a Issues table with all issues of the scan

Liam, PortSwigger Agent | Last updated: May 12, 2020 02:08PM UTC

For performance reasons, it's not possible to get all the issue types of all scans. That said, you shouldn't encounter an Unexpected Graph Error. Thanks for reporting the error, we'll get this cleaned up.

Uthman, PortSwigger Agent | Last updated: Jul 23, 2020 02:54PM UTC

Hi Michael, Hope you are doing well. The ‘Unexpected Graph Error’ you received when retrieving all issue types for all scans has been fixed in the latest release. Can you please take a look and let me know if you encounter any further issues? Best Regards, Uthman Eqbal Technical Product Specialist PortSwigger Web Security

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