mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 15:54:09 +02:00
Add specific control ID for warnings regarding usage of deprecated options
This commit is contained in:
parent
db117ae644
commit
9b978a3581
@ -541,7 +541,7 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
#
|
||||||
if [ -n "${DEPRECATED_OPTION}" ]; then
|
if [ -n "${DEPRECATED_OPTION}" ]; then
|
||||||
ReportWarning "LYNIS" "One or more deprecated options used" "${DEPRECATED_OPTION}" "Update your profile"
|
ReportWarning "GEN-0030" "One or more deprecated options used in profile" "${DEPRECATED_OPTION}" "Update your profile"
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user