mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-31 01:34:23 +02:00
Set preferred option to skip plugin executiont o --no-plugins, as that is more in line with the other 'no' options
This commit is contained in:
parent
3f834e6ad5
commit
af70303aeb
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
COMMANDS="audit configure generate show update upload-only"
|
COMMANDS="audit configure generate show update upload-only"
|
||||||
HELPERS="audit configure show update"
|
HELPERS="audit configure show update"
|
||||||
OPTIONS="--auditor\n--cronjob (--cron)\n--debug\n--developer\n--devops\n--forensics\n--help (-h)\n--log-file\n--manpage (--man)\n--no-colors\n--no-log\n--pentest\n--profile\n--plugin-dir\n--quick (-Q)\n--quiet (-q)\n--report-file\n--reverse-colors\n--skip-plugins\n--tests\n--tests-from-category\n--tests-from-group\n--usecwd\n--upload\n--verbose\n--version (-V)\n--wait\n--warnings-only"
|
OPTIONS="--auditor\n--cronjob (--cron)\n--debug\n--developer\n--devops\n--forensics\n--help (-h)\n--log-file\n--manpage (--man)\n--no-colors\n--no-log\n--no-plugins\n--pentest\n--profile\n--plugin-dir\n--quick (-Q)\n--quiet (-q)\n--report-file\n--reverse-colors\n--tests\n--tests-from-category\n--tests-from-group\n--usecwd\n--upload\n--verbose\n--version (-V)\n--wait\n--warnings-only"
|
||||||
|
|
||||||
SHOW_ARGS="categories changelog commands dbdir details environment eol groups help hostids includedir language license logfile man options os pidfile plugindir profiles release releasedate report settings tests version workdir"
|
SHOW_ARGS="categories changelog commands dbdir details environment eol groups help hostids includedir language license logfile man options os pidfile plugindir profiles release releasedate report settings tests version workdir"
|
||||||
SHOW_HELP="lynis show ${BROWN}categories${NORMAL} (display test categories)
|
SHOW_HELP="lynis show ${BROWN}categories${NORMAL} (display test categories)
|
||||||
|
@ -280,6 +280,11 @@
|
|||||||
LOGFILE="/dev/null"
|
LOGFILE="/dev/null"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
# Skip execution of plugins
|
||||||
|
--no-plugins | --noplugins | --skip-plugins)
|
||||||
|
SKIP_PLUGINS=1
|
||||||
|
;;
|
||||||
|
|
||||||
--pen-test | --pentest)
|
--pen-test | --pentest)
|
||||||
PENTESTINGMODE=1
|
PENTESTINGMODE=1
|
||||||
;;
|
;;
|
||||||
@ -359,11 +364,6 @@
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Skip execution of plugins
|
|
||||||
--skip-plugins | --no-plugins | --noplugins)
|
|
||||||
SKIP_PLUGINS=1
|
|
||||||
;;
|
|
||||||
|
|
||||||
# Only scan these tests
|
# Only scan these tests
|
||||||
--tests)
|
--tests)
|
||||||
shift
|
shift
|
||||||
|
8
lynis.8
8
lynis.8
@ -1,4 +1,4 @@
|
|||||||
.TH Lynis 8 "4 Dec 2019" "1.31" "Unix System Administrator's Manual"
|
.TH Lynis 8 "14 Feb 2020" "1.32" "Unix System Administrator's Manual"
|
||||||
|
|
||||||
|
|
||||||
.SH "NAME"
|
.SH "NAME"
|
||||||
@ -91,6 +91,9 @@ Disable colored output.
|
|||||||
Redirect all logging information to /dev/null, prevents sensitive information to
|
Redirect all logging information to /dev/null, prevents sensitive information to
|
||||||
be written to disk.
|
be written to disk.
|
||||||
.TP
|
.TP
|
||||||
|
.B \-\-no\-plugins
|
||||||
|
Do not run any of the enabled plugins.
|
||||||
|
.TP
|
||||||
.B \-\-pentest
|
.B \-\-pentest
|
||||||
Run a non-privileged scan, usually used for penetration testing. Some of the
|
Run a non-privileged scan, usually used for penetration testing. Some of the
|
||||||
tests will be skipped if they require root permissions.
|
tests will be skipped if they require root permissions.
|
||||||
@ -113,9 +116,6 @@ Provide an alternative name for report file.
|
|||||||
.B \-\-reverse\-colors
|
.B \-\-reverse\-colors
|
||||||
Optimize screen output for light backgrounds.
|
Optimize screen output for light backgrounds.
|
||||||
.TP
|
.TP
|
||||||
.B \-\-skip\-plugins
|
|
||||||
Do not run plugins.
|
|
||||||
.TP
|
|
||||||
.B \-\-tests TEST-IDs
|
.B \-\-tests TEST-IDs
|
||||||
Only run the specific test(s). When using multiple tests, add quotes around the
|
Only run the specific test(s). When using multiple tests, add quotes around the
|
||||||
line.
|
line.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user