From 93ff446df56f9ce702f4b0f3a447be86f89ed901 Mon Sep 17 00:00:00 2001 From: Sascha Strassheim Date: Thu, 26 Jul 2018 15:21:14 +0200 Subject: [PATCH] deuwo prd clamav for immobilien-objects scanonaccess --- .../web01-deutsche-wohnen-com.pixelpark.net.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml index 650f0b29..6e334e1f 100644 --- a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml +++ b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml @@ -5,6 +5,7 @@ infra::additional_classes: - infra::profile::mysql_server - infra::profile::postfix - logstash + - infra::profile::clamav # - zabbix::agent @@ -143,3 +144,13 @@ infra::profile::apache::pp_vhosts: - '%%{ich-trickse}{HTTPS} !=on' rewrite_rule: - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]' + +infra::profile::clamav::clamd_options: + ScanOnAccess: true + OnAccessIncludePath: + - '/home/polyestate/data' + - '/home/immosolve/data]' + + OnAccessPrevention: 'yes' + OnAccessExtraScanning: 'yes' + VirusEvent: '/bin/echo "ClamAV REPORT: Virus %v found! File: $CLAM_VIRUSEVENT_FILENAME" | mail -s "Virus found" 8x5@pixelpark.com' -- 2.39.5