mirror of https://github.com/CISOfy/lynis.git
Allow tags and system-customer-name to be specified
This commit is contained in:
parent
f4b6d8d401
commit
f903b6f079
14
default.prf
14
default.prf
|
@ -141,6 +141,20 @@ plugin=systemd
|
|||
plugin=users
|
||||
|
||||
|
||||
#################################################################################
|
||||
#
|
||||
# Lynis Enterprise options
|
||||
#
|
||||
#################################################################################
|
||||
|
||||
# Provide the name of the customer/client
|
||||
system-customer-name=
|
||||
|
||||
# Provide tags (tags=db,production,ssn-1304)
|
||||
tags=
|
||||
|
||||
|
||||
|
||||
#################################################################################
|
||||
#
|
||||
# Configuration (Old Style) - will be replaced in phases
|
||||
|
|
|
@ -315,6 +315,16 @@
|
|||
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && SET_STRICT=1
|
||||
;;
|
||||
|
||||
# The name of the customer/client that uses this system
|
||||
system-customer-name)
|
||||
if [ ! -z "${VALUE}" ]; then Report "system-customer-name=${VALUE}"; fi
|
||||
;;
|
||||
|
||||
# Tags (tags=db,production,ssn-1304)
|
||||
tags)
|
||||
if [ ! -z "${VALUE}" ]; then Report "tags=${VALUE}"; fi
|
||||
;;
|
||||
|
||||
# Define what kind of scan we are performing
|
||||
test_scan_mode | test-scan-mode)
|
||||
if [ "${VALUE}" = "light" ]; then SCAN_TEST_LIGHT="YES"; SCAN_TEST_MEDIUM="NO"; SCAN_TEST_HEAVY="NO"; fi
|
||||
|
|
Loading…
Reference in New Issue