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
path: root/extras
diff options
context:
space:
mode:
authorKepi <kepi@igloonet.cz>2020-07-02 23:47:13 +0300
committerKepi <kepi@igloonet.cz>2020-07-03 00:42:28 +0300
commitf94817f66f4344e9fee676480bf4e04167ebc52c (patch)
treec44d2f1c7e6f0ba9d8dcf17326278d30bef3ca18 /extras
parent1da058d6defcbfa4729b99526fdafcd1ae5295ce (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/lynis2
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