mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-28 08:14:10 +02:00
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
|
# Set strict mode for development and quality purposes
|
||||||
strict)
|
strict)
|
||||||
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && SET_STRICT=1
|
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
|
# Define what kind of scan we are performing
|
||||||
@ -447,6 +446,8 @@
|
|||||||
# Register the discovered settings
|
# Register the discovered settings
|
||||||
AddSetting "log-tests-incorrect-os" "${SETTING_LOG_TESTS_INCORRECT_OS}" "Logging of tests that have a different OS"
|
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 "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
|
unset SETTING_LOG_TESTS_INCORRECT_OS SETTING_SHOW_REPORT_SOLUTION
|
||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user