mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 15:54:09 +02:00
Add 'compliance-standards' as profile option, compliance_standards will be deprecated
This commit is contained in:
parent
3ba399c4c3
commit
85c83102df
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
# Define which compliance standards are enabled
|
# Define which compliance standards are enabled
|
||||||
# For this to work, the Enterprise plugins are needed
|
# For this to work, the Enterprise plugins are needed
|
||||||
compliance_standards | check-compliance)
|
compliance_standards | compliance-standards | check-compliance) # deprecated: compliance_standards
|
||||||
COMPLIANCE_STANDARDS_ENABLED=$(echo ${VALUE} | tr ',' ' ')
|
COMPLIANCE_STANDARDS_ENABLED=$(echo ${VALUE} | tr ',' ' ')
|
||||||
for STANDARD in ${COMPLIANCE_STANDARDS_ENABLED}; do
|
for STANDARD in ${COMPLIANCE_STANDARDS_ENABLED}; do
|
||||||
case ${STANDARD} in
|
case ${STANDARD} in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user