> 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/d/device42.md).

# Device42

Device42 is an IT infrastructure documentation and discovery product. OctoXLabs uses it to add the devices it tracks, and its end users, to the inventory.

## Use cases

* List devices documented in Device42 and compare them with other sources.

```
Adapters = device42
```

* Find devices that Device42 lists but your EDR does not see.

```
Adapters = device42 AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination   | Port               | Protocol                         |
| ------------------- | ------------- | ------------------ | -------------------------------- |
| OctoXLabs connector | Device42 host | 443 (configurable) | HTTPS (HTTP if Is Secure is off) |

### Required permissions

| Scope or role     | Permission                  | Needed for |
| ----------------- | --------------------------- | ---------- |
| Device42 API user | View and read for Devices   | Devices    |
| Device42 API user | View and read for End Users | End users  |

Generate the client id and secret with a Device42 administrator.

## Create credentials in Device42

{% stepper %}
{% step %}

### Generate the client credentials

With a Device42 administrator account, generate the Client ID and Client Secret from the app.
{% endstep %}

{% step %}

### Check object permissions

Make sure the API user can view Devices and End Users.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type              | Default | Description                      |
| ------------- | -------- | ----------------- | ------- | -------------------------------- |
| IP            | Yes      | String            | None    | IP address of the Device42 host. |
| Port          | No       | Integer           | `443`   | Port.                            |
| Client ID     | No       | String            | None    | Client id from the app.          |
| Client Secret | No       | String            | None    | Client secret from the app.      |
| Proxy         | No       | String            | None    | Proxy, used as `http://<proxy>`. |
| Timeout       | No       | Integer (seconds) | `30`    | Time to wait for API responses.  |
| Is Secure     | No       | Boolean           | `True`  | Use HTTPS.                       |

## Troubleshooting

| Error message | Cause                                                             | Fix                                                   |
| ------------- | ----------------------------------------------------------------- | ----------------------------------------------------- |
| Not verified  | The connector code defines no custom error text for this adapter. | Check the credentials and network access to the host. |

## Change history

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