From: Sascha Strassheim Date: Thu, 26 Jul 2018 13:21:14 +0000 (+0200) Subject: deuwo prd clamav for immobilien-objects scanonaccess X-Git-Tag: v0.1.0~509 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=93ff446df56f9ce702f4b0f3a447be86f89ed901;p=pixelpark%2Fhiera.git deuwo prd clamav for immobilien-objects scanonaccess --- 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'