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>2018-01-23 17:01:02 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-01-23 17:01:02 +0300
commit2bf6a5e038ca51ac5ca755e7ac83e404038f3bf3 (patch)
tree9641ff9b0fa0fa0ac7190bd2c1f47d5ca2c19a9b /include/profiles
parent6192cbd8faaaab4fd9fe71606383f2c789157f88 (diff)
Overhaul of default profile settings and parsing
Diffstat (limited to 'include/profiles')
-rw-r--r--include/profiles19
1 files changed, 12 insertions, 7 deletions
diff --git a/include/profiles b/include/profiles
index 96419acd..8e666c75 100644
--- a/include/profiles
+++ b/include/profiles
@@ -188,6 +188,11 @@
HOSTID2="${VALUE}"
;;
+ # Home directories to ignore during scans
+ ignore-home-dir)
+ Report "ignore-home-dir[]=${VALUE}"
+ ;;
+
# Language
language | lang)
LogText "Language set via profile to '${VALUE}'"
@@ -304,13 +309,6 @@
AddSetting "skip-plugins" "${SETTING_SKIP_PLUGINS}" "Skip plugins"
;;
- # SSL paths
- ssl-certificate-paths)
- SSL_CERTIFICATE_PATHS="${VALUE}"
- Debug "SSL paths set to ${SSL_CERTIFICATE_PATHS}"
- AddSetting "ssl-certificate-paths" "${SSL_CERTIFICATE_PATHS}" "Paths for SSL certificates"
- ;;
-
# Which tests to skip (skip-test=ABCD-1234 or skip-test=ABCD-1234:subtest)
skip-test)
STRING=$(echo ${VALUE} | tr '[:lower:]' '[:upper:]')
@@ -323,6 +321,13 @@
Debug "Skip upgrade test set to ${SKIP_UPGRADE_TEST}"
;;
+ # SSL paths
+ ssl-certificate-paths)
+ SSL_CERTIFICATE_PATHS="${VALUE}"
+ Debug "SSL paths set to ${SSL_CERTIFICATE_PATHS}"
+ AddSetting "ssl-certificate-paths" "${SSL_CERTIFICATE_PATHS}" "Paths for SSL certificates"
+ ;;
+
# Set strict mode for development and quality purposes
strict)
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && SET_STRICT=1