Add profile setting compliance_standards to define which ones are enabled

This commit is contained in:
mboelen 2015-10-01 11:59:50 +02:00
parent 4c0fa90478
commit 9505a10dd7
1 changed files with 13 additions and 0 deletions

View File

@ -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}"