> 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/a/admin-by-request.md).

# Admin by Request

Admin by Request is a privilege elevation and endpoint privilege management product. OctoXLabs reads its device inventory, including installed software.

## Use cases

* Find devices that Admin by Request reports but your EDR does not cover.

```
Adapters = admin-by-request AND NOT Adapters = falcon-crowdstrike
```

* Review devices that Admin by Request has not seen recently.

```
Adapters = admin-by-request AND NOT LastSeen last now-30d/d
```

* Check what one Admin by Request connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                                              | Port | Protocol                                 |
| ------------------- | -------------------------------------------------------- | ---- | ---------------------------------------- |
| OctoXLabs connector | dc1api.adminbyrequest.com (default, configurable Domain) | 443  | HTTPS, or HTTP when Is Secure is cleared |

### Required permissions

API Access must be available in the portal settings. Roles are not documented. Not verified.

## Create credentials in Admin by Request

{% stepper %}
{% step %}

### Sign in

Log in to your Admin by Request portal account.
{% endstep %}

{% step %}

### Open API Access

From the Admin By Request **Settings** menu, select the **API Access** tab.
{% endstep %}

{% step %}

### Copy the token

Copy the generated token and store it securely.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default                   | Description                                |
| --------- | -------- | ------- | ------------------------- | ------------------------------------------ |
| Domain    | Yes      | String  | dc1api.adminbyrequest.com | Domain of the Admin by Request instance.   |
| Token     | Yes      | String  | None                      | API token from the API Access tab.         |
| Is Secure | No       | Boolean | True                      | Use HTTPS. Clear it to use HTTP.           |
| Timeout   | No       | Integer | 30                        | Time in seconds to wait for API responses. |

## Troubleshooting

| Error message                                                          | Cause                                                                  | Fix                                                                                                                                           |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Status Code: `, followed by the URL, the method and the response body` | The API answered with a status other than the one the adapter expects. | Read the code and body. 401 or 403 usually points to wrong credentials or missing permissions. Check the address, port and Is Secure setting. |

## Change history
