-
Improvement
-
Resolution: Fixed
-
Minor
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-71627-add-antivirus-check-api-and-notification-levels -
When there is some sort of inf failure for an underlying anti virus service an the admin notifications are on then you just get a stream of emails which isn't helpful.
So proposing:
1) Add a new check api so that if any upload fails an anti virus check for a reason which isn't an actual virus, ie then store a timestamp somewhere
2) If the timestamp is within some recency threshold then this will alert. A value like 20 mins is probably a sane value in production. In any high volume site this will alert constantly as uploads. The threshold can be an admin setting
3) There also needs to be some convenient way to turn off all the notifications that were about the virus service while still allowing notifications about actual virus detection. So proposing to add a new admin setting notifylevel.
Ideally all of this is done at the anti virus system level and not at each antivirus plugin level.