Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2017-06-22 11:15:39 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2017-06-22 11:15:39 +0300
commitf903b6f07994d57043a63a3fe5bb468d00015511 (patch)
tree2c4b0be1c7d37afdd0997a8ed47bdf6455459827 /include/profiles
parentf4b6d8d401dd68e5abbc03ea5f56c275a5f6f08b (diff)
Allow tags and system-customer-name to be specified
Diffstat (limited to 'include/profiles')
-rw-r--r--include/profiles10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/profiles b/include/profiles
index dc509454..363f3580 100644
--- a/include/profiles
+++ b/include/profiles
@@ -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