mirror of https://github.com/CISOfy/lynis.git
Always register strict code checking in settings
This commit is contained in:
parent
075a69e125
commit
e0f50e9e25
|
@ -283,7 +283,6 @@
|
|||
# Set strict mode for development and quality purposes
|
||||
strict)
|
||||
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && SET_STRICT=1
|
||||
AddSetting "strict" "${SET_STRICT}" "Perform strict test of scripts"
|
||||
;;
|
||||
|
||||
# Define what kind of scan we are performing
|
||||
|
@ -447,6 +446,8 @@
|
|||
# Register the discovered settings
|
||||
AddSetting "log-tests-incorrect-os" "${SETTING_LOG_TESTS_INCORRECT_OS}" "Logging of tests that have a different OS"
|
||||
AddSetting "show-report-solution" "${SETTING_SHOW_REPORT_SOLUTION}" "Show more details in report (solution)"
|
||||
AddSetting "strict" "${SET_STRICT}" "Perform strict code test of scripts"
|
||||
|
||||
unset SETTING_LOG_TESTS_INCORRECT_OS SETTING_SHOW_REPORT_SOLUTION
|
||||
#
|
||||
#################################################################################
|
||||
|
|
Loading…
Reference in New Issue