> 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/g/gardiyan.md).

# Gardiyan

Gardiyan is an endpoint management platform for device control, software deployment and policy enforcement. OctoXLabs reads the agents (clients) and the software installed on each, and adds them to the device and application inventories.

## Use cases

* List all endpoints that report to Gardiyan.

```
Adapters = gardiyan
```

* Find Gardiyan endpoints that are not covered by the EDR.

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

## Before you begin

### Network

| Source              | Destination   | Port | Protocol |
| ------------------- | ------------- | ---- | -------- |
| OctoXLabs connector | Gardiyan host | 443  | HTTPS    |

The port is not a parameter. The connector always uses HTTPS.

### Required permissions

| Scope or role | Permission                          | Needed for           |
| ------------- | ----------------------------------- | -------------------- |
| API key       | Access to fetch agents from the API | Devices and software |

## Create credentials in Gardiyan

{% stepper %}
{% step %}

### Get an API key

Use an API key that has access to fetch agents from the Gardiyan API. The instructions do not describe where the key is created in the console.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type             | Default | Description                                                                           |
| ------------ | -------- | ---------------- | ------- | ------------------------------------------------------------------------------------- |
| Domain       | Yes      | Text             | None    | Domain of the Gardiyan host.                                                          |
| Api key      | Yes      | Text (sensitive) | None    | API key.                                                                              |
| Timeout      | No       | Integer          | 30      | Seconds to wait for API responses.                                                    |
| Thread count | No       | Integer          | 32      | Parallel threads for software and hardware requests. Minimum 1, maximum 32. Advanced. |
| Sleep time   | No       | Integer          | 0       | Seconds between thread batches. Increase it on rate limit errors.                     |

## Troubleshooting

| Error message | Cause                                        | Fix                                                        |
| ------------- | -------------------------------------------- | ---------------------------------------------------------- |
| Not verified  | The code has no adapter-specific error text. | Check the log for `Status Code`, `URL` and `Method` lines. |

## Change history

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