> 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/k/kondukto.md).

# Kondukto

Kondukto is an application security orchestration and posture management platform. OctoXLabs reads the users of your Kondukto instance and adds them to the user inventory.

## Use cases

* **Find Kondukto users that have no directory account.** List Kondukto users that are not found in Active Directory. How accounts are matched depends on your user merge settings.

```
Adapters = kondukto AND NOT Adapters = active-directory
```

* **List Kondukto accounts by username.** Review accounts whose username contains a text.

```
Adapters = kondukto AND Username ~ <text>
```

## Before you begin

### Network

| Source              | Destination   | Port               | Protocol |
| ------------------- | ------------- | ------------------ | -------- |
| OctoXLabs connector | Kondukto host | 443 (configurable) | HTTPS    |

Clear **Is Secure?** to use HTTP.

### Required permissions

Not verified: the sources do not name a role. The token must be able to call the health check and list users.

## Create credentials in Kondukto

{% stepper %}
{% step %}

### Log in

Log in to Kondukto.
{% endstep %}

{% step %}

### Generate a token

Go to **Integrations > Personal Access Token** and select **Generate Token**.
{% endstep %}

{% step %}

### Copy the token

Copy the **API Token**.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter  | Required | Type    | Default | Description                                           |
| ---------- | -------- | ------- | ------- | ----------------------------------------------------- |
| IP         | Yes      | String  | None    | IP address of the Kondukto host.                      |
| Port       | No       | Integer | 443     | Port number.                                          |
| API Token  | Yes      | String  | None    | Personal access token. Sent in the `X-Cookie` header. |
| Is Secure? | No       | Boolean | True    | Connect over HTTPS.                                   |
| Timeout    | No       | Integer | 30      | Seconds to wait for an API response.                  |

## Troubleshooting

| Error message                                                    | Cause                                                                                   | Fix                                                                                            |
| ---------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| Failed to fetch test data: {status}                              | The health check answered with a status other than 200.                                 | Check host, port, SSL setting and the token.                                                   |
| Invalid JSON response while fetching test data (status={status}) | The health check body was not JSON.                                                     | Check that the host and port point to Kondukto.                                                |
| Status Code: `, followed by URL, Method and the response body`   | The API answered with a status other than 200. This is the shared REST connector error. | Read the status code and body in the message, then check the credentials, permissions and URL. |

## Change history

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