From: Philipp Dallig <philipp.dallig@pixelpark.com>
Date: Fri, 14 Jul 2017 14:13:36 +0000 (+0200)
Subject: fbb-www - add on access scan
X-Git-Tag: v0.1.0~2666^2~127
X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=99f53534a30b20c4c8495def6b3e85e2e5a79d92;p=pixelpark%2Fhiera.git

fbb-www - add on access scan
---

diff --git a/customer/fbb-www/common.yaml b/customer/fbb-www/common.yaml
index b61256e2..803c17d3 100644
--- a/customer/fbb-www/common.yaml
+++ b/customer/fbb-www/common.yaml
@@ -134,6 +134,17 @@ apache::mod::expires::expires_by_type:
   - { application/vnd.oasis.opendocument.formula-template: "access plus 14 day" }
   - { application/font-woff2: "access plus 1 month" }
 
+infra::profile::clamav::clamd_options:
+  ScanOnAccess: true
+  OnAccessIncludePath:
+    - '/var/data/fiona'
+    - '/var/data/uploaded_files'
+    - '/var/www/media-berlin-airport'
+    - '/var/www/download-berlin-airport'
+  OnAccessPrevention: 'yes'
+  OnAccessExtraScanning: 'yes'
+  VirusEvent: '/bin/echo "ClamAV REPORT: Virus %v found! File: $CLAM_VIRUSEVENT_FILENAME" | mail -s "Virus found" 8x5@pixelpark.com'
+
 infra::additional_packages:
   mariadb:
     ensure: present