> 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/f/forticlient-ems.md).

# FortiClient Ems

FortiClient EMS (Endpoint Management Server) manages FortiClient agents across an organization. OctoXLabs reads the endpoint list and adds the endpoints to the device inventory.

## Use cases

* List all endpoints managed by FortiClient EMS.

```
Adapters = forticlient-ems
```

* Find EMS endpoints that have no record in the EDR.

```
Adapters = forticlient-ems AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination            | Port                        | Protocol                           |
| ------------------- | ---------------------- | --------------------------- | ---------------------------------- |
| OctoXLabs connector | FortiClient EMS server | 443 (default, configurable) | HTTPS (HTTP when Is secure is off) |

### Required permissions

| Scope or role     | Permission   | Needed for        |
| ----------------- | ------------ | ----------------- |
| EMS administrator | Not verified | Reading endpoints |

The instruction for this page does not state a role. The variant page [FortiClient Ems (fortinet-forticlient-ems)](broken://pages/e7b1cf23870f4b487f26dfb013b154f2fea1f738) asks for **Read-only administrator**.

## Create credentials in FortiClient EMS

{% stepper %}
{% step %}

### Prepare an account

Use an EMS account that can sign in to the REST API. Note the username and password.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type             | Default | Description                        |
| --------- | -------- | ---------------- | ------- | ---------------------------------- |
| Ip        | Yes      | Text             | None    | IP address or host name of EMS.    |
| Port      | No       | Integer          | 443     | Port number.                       |
| Username  | Yes      | Text             | None    | EMS account name.                  |
| Password  | Yes      | Text (sensitive) | None    | EMS account password.              |
| Is secure | No       | Boolean          | True    | Use SSL.                           |
| Timeout   | No       | Integer          | 30      | Seconds to wait for API responses. |

## 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 3.2.0.
{% endhint %}
