Storing File on the REST server

The server can be configured so that any data requested for scanning can be stored. This should be configured on the Metascan registry key (HKEY_LOCAL_MACHINE\SOFTWARE\OPSWAT\Metascan on x86, HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\OPSWAT\Metascan on x64). You must restart the Metadefender Core REST service after this key has been updated for the change to take effect.

String value

Value

Description

 

rest_filedb_type

NONE or mongoDB

Set to mongoDB to enable storing files, the default is NONE. This key does not exist by default and must be created on the Metadefender Core system.

rest_store_file

0 or 1

Set to 1 to enable storing files, the default is 0.

Enabling storing files on the server side will consume disk space rapidly, depending on the load. Sufficient disk space must be apportioned according to the load. You can monitor disk space usage on the management console dashboard.