Template the mount points to scan
This commit is contained in:
parent
b6679a3545
commit
7c890e3b82
@ -689,6 +689,7 @@ User clamscan
|
||||
# and not perform any blocking.
|
||||
# Default: no
|
||||
#OnAccessPrevention yes
|
||||
OnAccessPrevention yes
|
||||
|
||||
# When using prevention, if this option is turned on, any errors that occur
|
||||
# during scanning will result in the event attempt being denied. This could
|
||||
@ -715,7 +716,9 @@ User clamscan
|
||||
# Default: disabled
|
||||
#OnAccessMountPath /
|
||||
#OnAccessMountPath /home/user
|
||||
OnAccessMountPath /
|
||||
{% for item in ansible_mounts %}
|
||||
OnAccessMountPath {% item.mount %}
|
||||
{% endfor %}
|
||||
|
||||
# With this option you can whitelist the root UID (0). Processes run under
|
||||
# root with be able to access all files without triggering scans or
|
||||
@ -757,6 +760,7 @@ OnAccessExcludeUname clamupdate
|
||||
# connection problems (or other issues).
|
||||
# Default: 0
|
||||
#OnAccessRetryAttempts 3
|
||||
OnAccessRetryAttempts 3
|
||||
|
||||
##
|
||||
## Bytecode
|
||||
|
Loading…
x
Reference in New Issue
Block a user