> 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/m/morphisec.md).

# Morphisec

Morphisec is a moving target defense endpoint security product. OctoXLabs reads the host inventory and the users of your Morphisec account.

## Use cases

* List the hosts that Morphisec protects.

```
Adapters = morphisec
```

* Find servers that Morphisec does not report.

```
Category = Server AND NOT Adapters = morphisec
```

## Before you begin

### Network

| Source              | Destination                                       | Port | Protocol                           |
| ------------------- | ------------------------------------------------- | ---- | ---------------------------------- |
| OctoXLabs connector | Morphisec server (default `eu-1.morphisec.cloud`) | 443  | HTTPS (HTTP when Is Secure is off) |

### Required permissions

| Scope or role              | Permission | Needed for                |
| -------------------------- | ---------- | ------------------------- |
| API token with read access | Read       | Hosts inventory and users |

The frontend instructions only describe the API token as the token of your Morphisec account. The exact scope is not stated.

## Create credentials in Morphisec

{% stepper %}
{% step %}

### Get an API token

Get the API token for your Morphisec account from the Morphisec console.
{% endstep %}

{% step %}

### Note the server

Use the domain of your Morphisec server. The default is `eu-1.morphisec.cloud`.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter               | Required | Type    | Default              | Description                                              |
| ----------------------- | -------- | ------- | -------------------- | -------------------------------------------------------- |
| Domain (`domain`)       | No       | String  | eu-1.morphisec.cloud | Morphisec server domain.                                 |
| API Key (`api_key`)     | Yes      | String  |                      | API token, sent as a Bearer token.                       |
| Is Secure (`is_secure`) | No       | Boolean | True                 | Use HTTPS.                                               |
| Per Page (`per_page`)   | No       | Integer | 10                   | Records per request. The code comment states 1 to 10000. |

## Troubleshooting

| Error message | Cause | Fix                                    |
| ------------- | ----- | -------------------------------------- |
| Not verified  |       | No adapter-specific error text in code |

## Change history

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