mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-25 06:45:14 +02:00
Added aliases for several settings
This commit is contained in:
parent
b90ce88b36
commit
e691cb9faf
@ -105,7 +105,7 @@
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# Do not check security repository in sources.list (Debian/Ubuntu)
|
# Do not check security repository in sources.list (Debian/Ubuntu)
|
||||||
debian_skip_security_repository)
|
debian-skip-security-repository | debian_skip_security_repository)
|
||||||
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && OPTION_DEBIAN_SKIP_SECURITY_REPOSITORY=1
|
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && OPTION_DEBIAN_SKIP_SECURITY_REPOSITORY=1
|
||||||
AddSetting "debian-skip-security-repository" "OPTION_DEBIAN_SKIP_SECURITY_REPOSITORY" "Skip checking for a security repository (Debian and others)"
|
AddSetting "debian-skip-security-repository" "OPTION_DEBIAN_SKIP_SECURITY_REPOSITORY" "Skip checking for a security repository (Debian and others)"
|
||||||
;;
|
;;
|
||||||
@ -132,7 +132,7 @@
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# Skip FreeBSD port audit
|
# Skip FreeBSD port audit
|
||||||
freebsd_skip_portaudit)
|
freebsd-skip-portaudit | freebsd_skip_portaudit)
|
||||||
LogText "Option set: Skip FreeBSD portaudit"
|
LogText "Option set: Skip FreeBSD portaudit"
|
||||||
OPTION_FREEBSD_SKIP_PORTAUDIT="${VALUE}"
|
OPTION_FREEBSD_SKIP_PORTAUDIT="${VALUE}"
|
||||||
;;
|
;;
|
||||||
@ -151,7 +151,7 @@
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# Lynis Enterprise license key
|
# Lynis Enterprise license key
|
||||||
license_key | license-key)
|
license-key | license_key)
|
||||||
if [ ! "${VALUE}" = "" ]; then
|
if [ ! "${VALUE}" = "" ]; then
|
||||||
LICENSE_KEY="${VALUE}"
|
LICENSE_KEY="${VALUE}"
|
||||||
Report "license_key=${VALUE}"
|
Report "license_key=${VALUE}"
|
||||||
@ -160,7 +160,7 @@
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# Do (not) log tests if they have an different operating system
|
# Do (not) log tests if they have an different operating system
|
||||||
log_tests_incorrect_os)
|
log-tests-incorrect-os | log_tests_incorrect_os)
|
||||||
LogText "Option set: No logging for incorrect OS"
|
LogText "Option set: No logging for incorrect OS"
|
||||||
if [ "${VALUE}" = "no" ]; then LOG_INCORRECT_OS=0; else LOG_INCORRECT_OS=1; fi
|
if [ "${VALUE}" = "no" ]; then LOG_INCORRECT_OS=0; else LOG_INCORRECT_OS=1; fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user