Go to Imunify360 → Settings → Malware. The following options are available.
Note. Read CXS integration documentation carefully to make Malware Scanner work properly if you decided to use the former instead of Imunify360 anti-malware protection.
1.Automatically scan all modified files - enables real-time scanning for modified files using inotify library. The Scanner searches for modified files in user’s DocumentRoot directories. Note. It requires inotify to be installed and may put an additional load on a system.
2.Automatically scan any file uploaded using web - enables real-time scanning of all the files that were uploaded via http/https. Note. It requires ModSecurity to be installed.
3.Automatically scan any file uploaded using ftp - enables real-time scanning of all the files that were uploaded via ftp. Note. It requires Pure-FTPd to be used as FTP service.
4.Try to restore from backup first - allows to restore file as soon as it was detected as malicious from backup if a clean copy exists. If a clean copy does not exist or it is outdated, default action will be applied. See also CloudLinux Backup.
5.Use backups not older than (days) - allows to set the a maximum age of a clean file.
6.Default action on detect - configure Malware Scanner actions when detecting malicious activity.
•Quarantine file in place.
•Just display in dashboard.
Tick required checkboxes and click Save changes button.