> 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/c/controlup.md).

# ControlUp

ControlUp monitors desktops, compliance and virtual desktop infrastructure. OctoXLabs uses the ControlUp API to add Desktops devices and, optionally, enrich them with Compliance devices and VDI machines, joined by hostname.

## Use cases

* List devices that ControlUp reports.

```
Adapters = controlup
```

* Find ControlUp devices not seen in the last 30 days.

```
Adapters = controlup AND NOT LastSeen last now-30d/d
```

## Before you begin

### Network

| Source              | Destination                               | Port | Protocol |
| ------------------- | ----------------------------------------- | ---- | -------- |
| OctoXLabs connector | ControlUp API (default api.controlup.com) | 443  | HTTPS    |

### Required permissions

| Scope or role                                              | Permission         | Needed for                                        |
| ---------------------------------------------------------- | ------------------ | ------------------------------------------------- |
| DEX Admin role and Manage API Keys permission              | Create the API key | The user who creates the key                      |
| Dynamic Query (Role settings > API keys > VDI & DaaS APIs) | Read               | VDI machines (only when Fetch VDI Machines is on) |

## Create credentials in ControlUp

{% stepper %}
{% step %}

### Open API key management

Sign in to `app.controlup.com`, click your profile icon and select **API Key Management**.
{% endstep %}

{% step %}

### Create the key

Click **+ Create new** and choose how long the key is valid. Create a new key before it expires.
{% endstep %}

{% step %}

### Check permissions

Creating a key needs the **DEX Admin** role and the **Manage API Keys** permission. The key inherits the permissions of the user who created it. Assign them to the user directly. Permissions granted through identity provider groups do not apply.
{% endstep %}

{% step %}

### Prepare VDI access (optional)

To fetch VDI machines, the role also needs the **Dynamic Query** permission under **Role settings > API keys > VDI & DaaS APIs**.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter                | Required       | Type     | Default           | Description                                                                                                                         |
| ------------------------ | -------------- | -------- | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| Domain                   | Yes            | Text     | api.controlup.com | ControlUp API host, without `https://`. One host serves Desktops, Compliance and VDI.                                               |
| API Key                  | Yes            | Password |                   | ControlUp platform API key.                                                                                                         |
| Fetch Desktops Devices   | No             | Boolean  | True              | Collect devices managed by ControlUp for Desktops (Edge DX).                                                                        |
| Fetch Compliance Devices | No             | Boolean  | False             | Add IP addresses, MAC address, OS and tags from the Compliance agent to matching devices. Needs a ControlUp for Compliance license. |
| Fetch VDI Machines       | No             | Boolean  | False             | Add domain and description from ControlUp for VDI & DaaS. Needs that license and the two fields below.                              |
| VDI InfraGuid            | When VDI is on | Text     |                   | GUID of the ControlUp VDI infrastructure.                                                                                           |
| VDI Region               | When VDI is on | Text     |                   | Data region of your organization, for example `us`, `eu`, `canadacentral` or `germanywestcentral`.                                  |
| Proxy                    | No             | Text     |                   | Proxy in `host:port` format.                                                                                                        |
| Timeout                  | No             | Number   | 30                | Seconds to wait for API responses.                                                                                                  |

## Troubleshooting

| Error message                                                            | Cause                            | Fix                                   |
| ------------------------------------------------------------------------ | -------------------------------- | ------------------------------------- |
| At least one of Desktops, Compliance or VDI devices must be fetched.     | All three fetch options are off. | Turn on at least one.                 |
| 'vdi\_infra\_guid' and 'vdi\_region' are required to fetch VDI machines. | VDI is on but a field is empty.  | Fill in VDI InfraGuid and VDI Region. |
| Status Code: 429 Max retries exceeded for ...                            | The rate limit persisted.        | Wait and retry later.                 |

## Change history

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