Requirements for API scanning

Burp Scanner can scan APIs for vulnerabilities. This enables you to discover a larger attack surface in your applications.

Starting an API scan

Both Burp Suite DAST and Burp Suite Professional enable you to upload an API definition to be scanned. Burp Scanner automatically detects endpoints, parameters, and authentication details in the definition, then audits the detected endpoints.

More information

Incidental API scanning

Burp Scanner also parses any API definitions that it encounters as part of its regular crawling activity, then crawls and audits any endpoints that it discovers.

Note

To disable API scanning during regular crawling activity, deselect the Parse API definitions crawl option in the Discovery logic section of your custom scan configuration.

API definition requirements

Burp Scanner can parse and scan OpenAPI definitions, SOAP WSDLs, and Postman Collections that meet the criteria listed in each section.

OpenAPI definition requirements

Burp can parse OpenAPI definitions that:

OpenAPI endpoints

Burp Scanner identifies each server-path-method combination as a separate endpoint. For example, if an API definition includes three servers, and each supports GET and POST, Burp identifies six endpoints.

When auditing OpenAPI endpoints, Burp Scanner follows these rules:

Note

If Burp can't scan any endpoints in your OpenAPI definition, it logs these in the event log.

SOAP WSDL requirements

Burp can parse SOAP WSDLs that:

SOAP endpoints

When auditing SOAP endpoints, Burp Scanner follows these rules:

Note

If Burp can't scan any endpoints in your SOAP WSDL, it logs these in the event log.

Postman Collection requirements

Burp Suite can parse Postman Collections that:

Burp doesn't currently support the following Postman features:

Postman requests

When auditing Postman requests, Burp Scanner follows these rules:

Burp cannot scan Postman requests that:

Note

If Burp can't send any requests in your Postman Collection, it logs these in the event log.

Crawling GraphQL APIs

Burp Scanner can scan and audit GraphQL API endpoints during a crawl and audit. GraphQL crawls rely on introspection. This is a built-in GraphQL feature that enables users to query the structure of the API itself.

If GraphQL scanning is enabled, Burp Scanner uses the following process when crawling:

Note

For more information on how to test GraphQL APIs effectively, see the GraphQL API vulnerabilities Web Security Academy topic.