Configure items to ignore when monitoring or running a malware scan.
sentinel --task=antimalware:ignore --oper=<path_add|path_del|signature_add|signature_del|fileext_add|fileext_del|monitor_add|monitor_del> --value=<string>
Option |
Value | Description |
|---|---|---|
--oper |
<string> | The operation you want to perform. Operations: path_add, path_del, signature_add, signature_del, fileext_add, fileext_del, monitor_add, monitor_del |
--value |
<string> | The value you want to add or delete. |
--restart |
<yes> | Restart the service after saving settings. |
// add a path to ignore
sentinel --task=antimalware:ignore --oper=path_add --value=^/var/tmp/mysql.sock$ --restart=yes
// add a signature to ignore
sentinel --task=antimalware:ignore --oper=signature_add --value=Eicar-Test-Signature.345 --restart=yes
// ignore a directory of clean backups during scans
sentinel --task=antimalware:ignore --oper=path_add --value=^/var/backup/mysite$ --restart=yes
// stop flagging a known false positive file extension
sentinel --task=antimalware:ignore --oper=fileext_add --value=iso --restart=yes