Anti-Virus

Marketplace URL: Anti-Virus

Use these commands to configure the Anti-Virus app. Parametrisation must be done with the occ config command set.

List the Current Settings

sudo -u www-data php occ config:list files_antivirus

Set the Setting

To set a new value, use the command below and replace <Key> and value <Value> accordingly.

sudo -u www-data php occ config:app:set files_antivirus <Key> --value=<Value> --update-only

Antivirus Mode [string]

Antivirus Configuration.

Key

av_mode

Default

'executable'

Possible Values

'executable'
'daemon'
'socket'

Antivirus Socket [string]

Antivirus Socket.

Key

av_socket

Default

'/var/run/clamav/clamd.ctl'

Antivirus Host [string]

Hostname or IP address of Antivirus Host.

Key

av_host

Default

Antivirus Port [integer]

Port number of Antivirus Host, 1-65535.

Key

av_port

Default

Possible Values

1-65535

Antivirus Command Line Options [string]

Extra command line options (comma-separated).

Key

av_cmd_options

Default

Antivirus Path to Executable [string]

Path to clamscan executable.

Key

av_path

Default

'/usr/bin/clamscan'

Antivirus Maximum Filesize [integer]

File size limit, -1 means no limit.

Key

av_max_file_size

Default

'-1'

Possible Values

'-1'
integer number

Antivirus Maximum Stream Lenth [integer]

Max Stream Length.

Key

av_stream_max_length

Default

'26214400'

Antivirus Action [string]

When infected files were found during a background scan.

Key

av_infected_action

Default

'only_log'

Possible Values

'only_log'
'delete'

Antivirus Scan Process [string]

Define scan process.

Key

av_scan_background

Default

'true'

Possible Values

'true'
'false'