diff options
-rw-r--r-- | src/msec/config.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/msec/config.py b/src/msec/config.py index 9561300..a6a9d12 100644 --- a/src/msec/config.py +++ b/src/msec/config.py @@ -58,6 +58,12 @@ SETTINGS = { # text for disabled options OPTION_DISABLED=_("System default") +# some checks require installation of additional packages if a specific option was activated +REQUIRE_PACKAGES = { + # the format is: 'OPTION_NAME': ('option value which requires package installation', 'list of packages') + # for example, 'CHECK_CHKROOTKIT': ('yes', 'chkrootkit') + } + # settings organizes by category # system security settings - defined by 'msec' plugin SETTINGS_SYSTEM = [] @@ -101,7 +107,6 @@ def find_doc(msec, option, cached=None): cached[option] = doc return doc - def find_callback(param): '''Finds a callback for security option''' if param not in SETTINGS: |