Renaming of variables for clarity

This commit is contained in:
mboelen 2015-10-01 22:39:01 +02:00
parent 385e62b6a5
commit 3f8b826585
1 changed files with 4 additions and 3 deletions

View File

@ -34,9 +34,10 @@
COMPLIANCE_STANDARDS_ENABLED=`echo ${VALUE} | tr ',' ' '`
for I in ${COMPLIANCE_STANDARDS_ENABLED}; do
case $I in
hipaa) COMPLIANCE_HIPAA=1 ; Debug "Compliance scanning for HIPAA is enabled" ;;
iso27001) COMPLIANCE_ISO27001=1 ; Debug "Compliance scanning for ISO27001 is enabled" ;;
pci-dss) COMPLIANCE_PCI_DSS=1 ; Debug "Compliance scanning for PCI-DSS is enabled" ;;
cis) COMPLIANCE_ENABLE_CIS=1 ; Debug "Compliance scanning for CIS Benchmarks is enabled" ;;
hipaa) COMPLIANCE_ENABLE_HIPAA=1 ; Debug "Compliance scanning for HIPAA is enabled" ;;
iso27001) COMPLIANCE_ENABLE_ISO27001=1 ; Debug "Compliance scanning for ISO27001 is enabled" ;;
pci-dss) COMPLIANCE_ENABLE_PCI_DSS=1 ; Debug "Compliance scanning for PCI-DSS is enabled" ;;
*) logtext "Result: Unknown compliance standard configured" ;;
esac
done