> 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/opswat-metadefender-core-mdcore.md).

# OPSWAT MetaDefender Core (MDCore)

OPSWAT MetaDefender Core scans files with multiple engines. OctoXLabs reads its user accounts to add them to the inventory.

## Use cases

* List MetaDefender Core users that OctoXLabs has collected.

```
Adapters = opswat-metadefender-core
```

## Before you begin

### Network

| Source              | Destination       | Port                | Protocol |
| ------------------- | ----------------- | ------------------- | -------- |
| OctoXLabs connector | MetaDefender Core | 8008 (configurable) | HTTPS    |

### Required permissions

The account must be allowed to call the admin user endpoint, so it needs an administrator role. The exact role name is not in the sources. Not verified.

## Create credentials in OPSWAT MetaDefender Core (MDCore)

{% stepper %}
{% step %}

### Choose an account

Use a MetaDefender Core account that can list users through the admin API.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default | Description                               |
| --------- | -------- | ------- | ------- | ----------------------------------------- |
| IP        | Yes      | String  |         | IP address of the MDCore host.            |
| Port      | No       | Integer | 8008    | Port number.                              |
| Username  | Yes      | String  |         | Account used to connect (sent as `user`). |
| Password  | Yes      | String  |         | Password of the account.                  |
| 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.6.
{% endhint %}
