> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/b/burp-suite-dast.md).

# Burp Suite DAST

Burp Suite DAST (formerly Burp Suite Enterprise) runs web vulnerability scans with scanning agents. OctoXLabs reads the scanning agents through the GraphQL API and stores them as devices.

## Use cases

* List scanning agents that have an IP address.

```
Adapters = burp-suite-dast AND IpAddresses = *
```

## Before you begin

### Network

| Source              | Destination                           | Port               | Protocol                         |
| ------------------- | ------------------------------------- | ------------------ | -------------------------------- |
| OctoXLabs connector | Burp Suite DAST server (IP you enter) | 443 (configurable) | HTTPS (HTTP if Is Secure is off) |

### Required permissions

| Scope or role                         | Permission | Needed for |
| ------------------------------------- | ---------- | ---------- |
| User in a group that may call the API | Read       | Agents     |

## Create credentials in Burp Suite DAST

{% stepper %}
{% step %}

### Sign in

Log in to Burp Suite DAST as an administrator.
{% endstep %}

{% step %}

### Add a user

Click **Team > Add a new user**. Enter a name and a username that identify the user, for example "GraphQL API User", and an email address.
{% endstep %}

{% step %}

### Choose the login type

From **Choose a login type** select **API key**.
{% endstep %}

{% step %}

### Assign groups

Assign the user to one or more groups that have the permissions for the API calls it needs.
{% endstep %}

{% step %}

### Save and copy

Click **Save**. When prompted, click **Copy API key** and store it securely.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default | Description                         |
| --------- | -------- | ------- | ------- | ----------------------------------- |
| IP        | Yes      | String  |         | IP or host name of the server.      |
| Port      | No       | Integer | 443     | Port of the API.                    |
| API Key   | Yes      | String  |         | Sent in the `Authorization` header. |
| Is Secure | No       | Boolean | True    | Use HTTPS.                          |
| Proxy     | No       | String  |         | Proxy as `host:port`.               |
| Timeout   | No       | Integer | 30      | Seconds to wait for API responses.  |

## Troubleshooting

| Error message                | Cause                                                                                                                                  | Fix                                                                                                  |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Max retries exceeded for     | The API kept answering 429.                                                                                                            | Wait and run the discovery again. The adapter waits for `Retry-After`.                               |
| Status Code: `, URL, Method` | The API answered with an unexpected HTTP status. The shared request code raises it and logs the status, URL, method and response body. | Check the URL, the credentials and the permissions listed above, then run the connection test again. |

## Change history

{% hint style="info" %}
Available starting from version 6.5.0.
{% endhint %}
