> 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/o/optimate-bgys.md).

# Optimate BGYS

Optimate BGYS is an information security management system. OctoXLabs reads a view from it and turns each row into a device.

## Use cases

* List devices that come from Optimate BGYS.

```
Adapters = optimate-bgys
```

* Find devices not seen for 30 days, when you map the **Last Seen Field**.

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

## Before you begin

### Network

| Source              | Destination          | Port                    | Protocol                         |
| ------------------- | -------------------- | ----------------------- | -------------------------------- |
| OctoXLabs connector | Optimate BGYS server | Set by you (no default) | HTTPS (HTTP if Is Secure is off) |

### Required permissions

The account must be allowed to use the Optimate BGYS API and must be a member of the selected profile. The sources do not name a role. Not verified.

## Create credentials in Optimate BGYS

{% stepper %}
{% step %}

### Pick an API account

Use an Optimate BGYS account that has API access.
{% endstep %}

{% step %}

### Prepare a view

Create or choose a View record that returns the data you want. Note its numeric ID, or its system name in `{Module.SystemName}.{View.SystemName}` format, for example `MyModule.MyView`.
{% endstep %}

{% step %}

### Choose a profile

Note the Profile record, by numeric ID or by system name. The account must be a member of this profile.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter        | Required | Type    | Default | Description                                                                                             |
| ---------------- | -------- | ------- | ------- | ------------------------------------------------------------------------------------------------------- |
| IP               | Yes      | String  |         | IP address of the Optimate BGYS host.                                                                   |
| Port             | Yes      | String  |         | Port number of the Optimate BGYS connection.                                                            |
| Username         | Yes      | String  |         | Account with API access.                                                                                |
| Password         | Yes      | String  |         | Password of the account.                                                                                |
| View ID          | Yes      | String  |         | View record to read from: numeric ID or `{Module.SystemName}.{View.SystemName}`.                        |
| Profile ID       | Yes      | String  |         | Profile record used while reading: numeric ID or system name. The user must be a member of the profile. |
| Hostname Field   | Yes      | String  |         | Column that holds the device hostname.                                                                  |
| IP Address Field | No       | String  |         | Column that holds the device IP address.                                                                |
| First Seen Field | No       | String  |         | Column that holds the first seen date.                                                                  |
| Last Seen Field  | No       | String  |         | Column that holds the last seen date.                                                                   |
| Is Secure        | No       | Boolean | True    | Use HTTPS.                                                                                              |
| Timeout          | No       | Integer | 30      | Seconds to wait for API responses.                                                                      |

## Troubleshooting

| Error message | Cause | Fix |
| ------------- | ----- | --- |

## Change history

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