| title | Burp Suite DAST GraphQL |
|---|---|
| toc_hide | true |
Import the JSON data returned from the BurpSuite DAST GraphQL API. Append all the issues returned to a list and save it as the value for the key "Issues". There is no need to filter duplicates, the parser will automatically combine issues with the same name.
Example:
{{< highlight json >}} { "Issues": [ { "issue_type": { "name": "Cross-site scripting (reflected)", "description_html": "Issue Description", "remediation_html": "Issue Remediation", "vulnerability_classifications_html": "
Example GraphQL query to get issue details:
{{< highlight graphql >}} query Issue ($id: ID!, $serial_num: ID!) { issue(scan_id: $id, serial_number: $serial_num) { issue_type { name description_html remediation_html vulnerability_classifications_html references_html } description_html remediation_html severity path origin evidence { ... on Request { request_index request_segments { ... on DataSegment { data_html } ... on HighlightSegment { highlight_html } } } ... on Response { response_index response_segments { ... on DataSegment { data_html } ... on HighlightSegment { highlight_html } } } } } } {{< /highlight >}}
Sample Burp GraphQL scans can be found here.
By default, DefectDojo identifies duplicate Findings using these hashcode fields:
- title
- cwe
- line
- file path
- description