diff options
author | Kepi <kepi@igloonet.cz> | 2020-07-02 23:47:13 +0300 |
---|---|---|
committer | Kepi <kepi@igloonet.cz> | 2020-07-03 00:42:28 +0300 |
commit | f94817f66f4344e9fee676480bf4e04167ebc52c (patch) | |
tree | c44d2f1c7e6f0ba9d8dcf17326278d30bef3ca18 /include/consts | |
parent | 1da058d6defcbfa4729b99526fdafcd1ae5295ce (diff) |
Command line option for slow test threshold
IMHO it should be OK to run long tests if we count with it.
Example:
lynis audit system --slow-warning 300
Will warn when test takes longer than 300 seconds, instead of default 10.
Diffstat (limited to 'include/consts')
-rw-r--r-- | include/consts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/consts b/include/consts index 1a75ae68..053147a4 100644 --- a/include/consts +++ b/include/consts @@ -273,6 +273,7 @@ ETC_PATHS="/etc /usr/local/etc" SKIP_VM_DETECTION=0 SKIPREASON="" SKIPPED_TESTS_ROOTONLY="" + SLOW_TEST_THRESHOLD=10 SMTPCTLBINARY="" SNORTBINARY="" SSHKEYSCANBINARY="" |