From 99f53534a30b20c4c8495def6b3e85e2e5a79d92 Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Fri, 14 Jul 2017 16:13:36 +0200 Subject: [PATCH] fbb-www - add on access scan --- customer/fbb-www/common.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- 2.39.5