OP#785 add excludepaths and option to use it
This commit is contained in:
@@ -21,7 +21,7 @@ PreludeAnalyzerName ClamAV
|
||||
|
||||
# Log additional information about the infected file, such as its
|
||||
# size and hash, together with the virus name.
|
||||
#ExtendedDetectionInfo yes
|
||||
ExtendedDetectionInfo yes
|
||||
|
||||
# This option allows you to save a process identifier of the listening
|
||||
# daemon (main thread).
|
||||
@@ -132,6 +132,28 @@ PreludeAnalyzerName ClamAV
|
||||
#ExcludePath ^/proc/
|
||||
#ExcludePath ^/sys/
|
||||
|
||||
<% if @cv_use_excludepaths %>
|
||||
ExcludePath ^/proc
|
||||
ExcludePath ^/sys
|
||||
ExcludePath ^/dev
|
||||
ExcludePath ^/run
|
||||
ExcludePath ^/var/run
|
||||
ExcludePath ^/var/tmp
|
||||
ExcludePath ^/tmp
|
||||
ExcludePath ^/var/lib/clamav
|
||||
ExcludePath ^/var/log/clamav
|
||||
ExcludePath ^/var/lib/docker
|
||||
ExcludePath ^/var/lib/containerd
|
||||
ExcludePath ^/var/lib/kubelet/pods
|
||||
ExcludePath ^/var/lib/kubelet/plugins
|
||||
ExcludePath ^/var/lib/kubelet/plugins_registry
|
||||
ExcludePath ^/var/log/pods
|
||||
ExcludePath ^/var/log/containers
|
||||
ExcludePath ^/var/cache
|
||||
ExcludePath ^/run/containerd
|
||||
ExcludePath ^/run/docker
|
||||
<% end %>
|
||||
|
||||
# Maximum depth directories are scanned at.
|
||||
# Default: 15
|
||||
#MaxDirectoryRecursion 20
|
||||
|
||||
Reference in New Issue
Block a user