mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Add profile setting compliance_standards to define which ones are enabled
This commit is contained in:
parent
4c0fa90478
commit
9505a10dd7
1 changed files with 13 additions and 0 deletions
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue