MetaDefender Core NAS (File Storage Server)
The File Storage Server component supports its own configuration file in JSON format.
Key path | Required | Value type | Accepted values | Description |
|---|---|---|---|---|
connection_key | yes | string | A string from 4 to 64 character long containing digits from 0 to 9 and characters from a/A to z/Z | An arbitrary string that allows clients to connect to file storage server |
log.streams[@].log_type | yes | string |
| Type of log device |
log.streams[@].log_level | yes | string |
| Level of log message |
log.streams[@].log_path | yes | string | If If
| Location where logs are written |
log.streams[@].log_format | no | string |
| Format of written log |
server.config.host | yes | string | IP address (V4/V6) or host where the file storage server service resides on | |
server.config.port | yes | number | Port of server where the file storage server service resides on | |
server.config.key_path | yes | string |
| Path to the file containing private key in X509 format. In case of Linux container-based setup, this should be an absolute mapped path. |
server.config.certificate_path | yes | string |
| Path to the file containing certificate in X509 format. In case of Linux container-based setup, this should be an absolute mapped path. |
storage.database_path | no | string | Path to the directory where NAS stores its database file. install-dir/data is used if the key is ignored | |
storage.paths[@].path | yes | string | Path to the directory where NAS stores submitted files | |
storage.paths[@].max_size_gb | yes | string | Maximum storage volume in Gigabytes |
Example of ometascan_nas.conf
When setting up on a host machine
When setting up in a container
Sample private (.key) and public key (.cert) in X509 format: