0b997f63e3
- `notifylevel` will change what gets sent as part of the antivirus notification emails based on the scan type. For example if set on SCAN_RESULT_FOUND, it will not notify for any detections, if set to SCAN_RESULT_ERROR, it will notify for both detections and errors. - `threshold` will determine how far the lookback is when displaying the status of the /reports/status (System Status) page. It will display as an ERROR state if there has been scanner issues within this certain threshold period - As part of the above, scanner errors will now trigger a new event which will be logged as antivirus_scan_data_error or antivirus_scan_file_error. Due to the nature of it reading from the logs table, it only works currently for the "Standard logging" logstore.
73 lines
4.1 KiB
PHP
73 lines
4.1 KiB
PHP
<?php
|
|
// This file is part of Moodle - http://moodle.org/
|
|
//
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
/**
|
|
* Strings for component 'antivirus', language 'en'
|
|
*
|
|
* @package core_antivirus
|
|
* @copyright 2015 Ruslan Kabalin, Lancaster University.
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
$string['actantivirushdr'] = 'Available antivirus plugins';
|
|
$string['antiviruses'] = 'Antivirus plugins';
|
|
$string['antiviruscommonsettings'] = 'Common antivirus settings';
|
|
$string['antivirussettings'] = 'Manage antivirus plugins';
|
|
$string['configantivirusplugins'] = 'Please choose the antivirus plugins you wish to use and arrange them in order of being applied.';
|
|
$string['datastream'] = 'Data';
|
|
$string['dataerrordesc'] = 'Data scanner error occurred.';
|
|
$string['dataerrorname'] = 'Data scanner error';
|
|
$string['datainfecteddesc'] = 'Infected data was detected.';
|
|
$string['datainfectedname'] = 'Data infected';
|
|
$string['emailadditionalinfo'] = 'Additional details returned from the virus engine: ';
|
|
$string['emailauthor'] = 'Uploaded by: ';
|
|
$string['emailcontenthash'] = 'Content hash: ';
|
|
$string['emailcontenttype'] = 'Content type: ';
|
|
$string['emaildate'] = 'Date uploaded: ';
|
|
$string['emailfilename'] = 'Filename: ';
|
|
$string['emailfilesize'] = 'File size: ';
|
|
$string['emailgeoinfo'] = 'Geolocation: ';
|
|
$string['emailinfectedfiledetected'] = 'Infected file detected';
|
|
$string['emailipaddress'] = 'IP address:';
|
|
$string['emailreferer'] = 'Referer: ';
|
|
$string['emailreport'] = 'Report: ';
|
|
$string['emailscanner'] = 'Scanner: ';
|
|
$string['emailscannererrordetected'] = 'A scanner error occured';
|
|
$string['emailsubject'] = '{$a} :: Antivirus notification';
|
|
$string['enablequarantine_help'] = 'If enabled, any files which are detected as viruses will be placed in a quarantine folder ([dataroot]/{$a}) for later inspection. The upload into Moodle will fail. If you have any file system level virus scanning in place, the quarantine folder should be excluded from the antivirus check to avoid detecting the quarantined files.';
|
|
$string['enablequarantine'] = 'Enable quarantine';
|
|
$string['fileerrordesc'] = 'File scanner error occurred.';
|
|
$string['fileerrorname'] = 'File scanner error';
|
|
$string['fileinfecteddesc'] = 'An infected file was detected.';
|
|
$string['fileinfectedname'] = 'File infected';
|
|
$string['notifyemail_help'] = 'The email address for notifications of when a virus is detected. If left blank, then all site administrators will be sent notifications.';
|
|
$string['notifyemail'] = 'Antivirus alert notification email';
|
|
$string['notifylevel_help'] = 'The different levels of information you want to be notified about';
|
|
$string['notifylevel'] = 'Notify Level';
|
|
$string['notifylevelfound'] = 'Notify when threats detected';
|
|
$string['notifylevelerror'] = 'Notify on threats and scan issues';
|
|
$string['privacy:metadata'] = 'The Antivirus system does not store any personal data.';
|
|
$string['quarantinedfiles'] = 'Antivirus quarantined files';
|
|
$string['quarantinedisabled'] = 'Quarantine is disabled. The file is not stored.';
|
|
$string['quarantinetime_desc'] = 'Quarantined files older than the specified period will be removed.';
|
|
$string['quarantinetime'] = 'Maximum quarantine time';
|
|
$string['threshold_desc'] = 'Controls how far back to check against previous results for errors/warnings/etc, which can be viewed here ({$a}).';
|
|
$string['threshold'] = 'Threshold for status check';
|
|
$string['taskcleanup'] = 'Clean up quarantined files.';
|
|
$string['unknown'] = 'Unknown';
|
|
$string['virusfound'] = '{$a->item} has been scanned by a virus checker and found to be infected!';
|
|
|