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
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-10-13 21:15:00 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-10-13 21:15:00 +0300
commit063f50f39cd0038bd19dd0c502cd2297ef17c21f (patch)
tree3ae9e0794d9837e8ebed95862def939f4f781bb9 /include/parameters
parent4da54cf95a130504a37b19aa559f4dca81a5384d (diff)
Add upload-only command
Diffstat (limited to 'include/parameters')
-rw-r--r--include/parameters17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/parameters b/include/parameters
index 2c59ab0c..6f5d37e0 100644
--- a/include/parameters
+++ b/include/parameters
@@ -151,6 +151,23 @@
fi
;;
+ # Perform just the upload
+ "upload-only" | "only-upload")
+ CHECK_BINARIES=1
+ CREATE_REPORT_FILE=0
+ #QUIET=1
+ LOGTEXT=0
+ RUN_HELPERS=0
+ RUN_TESTS=0
+ RUN_UPDATE_CHECK=0
+ SKIP_PLUGINS=1
+ SHOW_REPORT=0
+ SHOW_TOOL_TIPS=0
+ SHOW_PROGRAM_DETAILS=0
+ UPLOAD_DATA=1
+ if [ $# -gt 1 ]; then echo "No other parameters or options are allowed when using 'upload-only' command"; ExitFatal; fi
+ ;;
+
# Assign auditor to report
--auditor)
shift