From 9505a10dd7fc2960322c5a604e8ab586609bb284 Mon Sep 17 00:00:00 2001 From: mboelen Date: Thu, 1 Oct 2015 11:59:50 +0200 Subject: [PATCH] Add profile setting compliance_standards to define which ones are enabled --- include/profiles | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/profiles b/include/profiles index 1ceb4cd8..0179b031 100644 --- a/include/profiles +++ b/include/profiles @@ -29,6 +29,19 @@ case ${OPTION} in + # Define which compliance standards are enabled + compliance_standards) + COMPLIANCE_STANDARDS_ENABLED=`echo ${VALUE} | tr ',' ' '` + for I in ${COMPLIANCE_STANDARDS}; do + case $I in + hipaa) COMPLIANCE_HIPAA=1 ;; + iso27001) COMPLIANCE_ISO27001=1 ;; + pci-dss) COMPLIANCE_PCI_DSS=1 ;; + *) logtext "Unknown compliance standard configured" ;; + esac + done + ;; + # Maximum number of WAITing connections connections_max_wait_state) OPTIONS_CONN_MAX_WAIT_STATE="${VALUE}"