> 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/check-point-harmony-endpoint-security.md).

# Check Point Harmony Endpoint Security

Check Point Harmony Endpoint provides endpoint protection with central management. OctoXLabs reads the computers known to Harmony Endpoint Management and adds them to the device inventory. The adapter works with the cloud service and with an on-premises management server.

## Use cases

* **Find devices without Harmony Endpoint.** List devices that Active Directory knows but Harmony Endpoint does not report. Matching depends on your device merge settings.

```
Adapters = active-directory AND NOT Adapters = harmony-endpoint
```

* **Review Harmony Endpoint devices by operating system.** Check which operating systems are protected.

```
Adapters = harmony-endpoint AND OS.Type = Windows
```

## Before you begin

### Network

| Source              | Destination                          | Port                            | Protocol |
| ------------------- | ------------------------------------ | ------------------------------- | -------- |
| OctoXLabs connector | Harmony Endpoint host (IP parameter) | 443 by default (Port parameter) | HTTPS    |

The connector always uses HTTPS. The IP parameter is the host that serves the `/harmony/endpoint` API paths.

### Required permissions

| Scope or role                                                               | Permission               | Needed for      |
| --------------------------------------------------------------------------- | ------------------------ | --------------- |
| Infinity Portal API key for the service Harmony Endpoint Management (cloud) | Read access to computers | Listing devices |
| Harmony Endpoint management user (on-premises)                              | Read access to computers | Listing devices |

For some services it is necessary to select the applicable roles when you create the key. The sources do not name the exact role.

## Create credentials in Check Point Harmony Endpoint Security

{% stepper %}
{% step %}

### Cloud: open API keys

In the Infinity Portal, go to **Settings > API Keys**.
{% endstep %}

{% step %}

### Cloud: create the key

From the top toolbar, click **New**. In the **Create a New API Key** window, open the **Service** list and select **Harmony Endpoint Management**. Select the applicable roles if the service asks for them.
{% endstep %}

{% step %}

### Cloud: copy the values

Copy the client ID and the secret key.
{% endstep %}

{% step %}

### On-premises: choose a user

Use a Harmony Endpoint management user name and password. Leave Client ID and Secret Key empty.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Fill in either the cloud values (Client ID and Secret Key) or the on-premises values (Username and Password). If Client ID is set, the connector uses the cloud flow. Otherwise, if Username is set, it uses the on-premises flow.
{% endhint %}

## Connection parameters

| Parameter  | Required | Type    | Default | Description                                                                            |
| ---------- | -------- | ------- | ------- | -------------------------------------------------------------------------------------- |
| IP         | Yes      | String  | None    | Host of the Harmony Endpoint API.                                                      |
| Port       | No       | Integer | 443     | Port of the API.                                                                       |
| Client ID  | No       | String  | None    | Cloud users only. Client ID of the Harmony API key.                                    |
| Secret Key | No       | String  | None    | Cloud users only. Secret key (access key) of the API key. Stored as a sensitive value. |
| Username   | No       | String  | None    | On-premises users only.                                                                |
| Password   | No       | String  | None    | On-premises users only. Stored as a sensitive value.                                   |
| Timeout    | No       | Integer | 30      | Seconds to wait for an API response.                                                   |

## Troubleshooting

| Error message                                                  | Cause                                  | Fix                                                                        |
| -------------------------------------------------------------- | -------------------------------------- | -------------------------------------------------------------------------- |
| Status Code: `, followed by URL, Method and the response body` | The API answered with an error status. | Check the credentials, the key's service and roles, and the host and port. |

## Change history
