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 /extras | |
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 'extras')
-rw-r--r-- | extras/bash_completion.d/lynis | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/bash_completion.d/lynis b/extras/bash_completion.d/lynis index 8732ede3..7eee7375 100644 --- a/extras/bash_completion.d/lynis +++ b/extras/bash_completion.d/lynis @@ -179,7 +179,7 @@ _lynis() *) COMPREPLY=( $( compgen -W ' \ --auditor --cronjob --debug --quick --quiet --logfile --no-colors --no-log --pentest --reverse-colors \ - --tests --tests-from-category --tests-from-group --upload --verbose' -- "$cur" ) ) + --tests --tests-from-category --tests-from-group --upload --verbose --slow-warning' -- "$cur" ) ) ;; esac |