mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-29 16:54:26 +02:00
New profile options for automatic updates
This commit is contained in:
parent
0e581e6ad7
commit
943b944a13
@ -147,6 +147,36 @@
|
|||||||
if [ "${VALUE}" = "full" ]; then SCAN_TEST_LIGHT="YES"; SCAN_TEST_MEDIUM="YES"; SCAN_TEST_HEAVY="YES"; fi
|
if [ "${VALUE}" = "full" ]; then SCAN_TEST_LIGHT="YES"; SCAN_TEST_MEDIUM="YES"; SCAN_TEST_HEAVY="YES"; fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
# Server IP or hostname
|
||||||
|
update_server_address)
|
||||||
|
UPDATE_SERVER_ADDRESS="${VALUE}"
|
||||||
|
;;
|
||||||
|
|
||||||
|
# Protocol (http, https)
|
||||||
|
update_server_protocol)
|
||||||
|
UPDATE_SERVER_PROTOCOL="${VALUE}"
|
||||||
|
;;
|
||||||
|
|
||||||
|
# File path to tarball on server
|
||||||
|
update_latest_version_download)
|
||||||
|
UPDATE_LATEST_VERSION_DOWNLOAD="${VALUE}"
|
||||||
|
;;
|
||||||
|
|
||||||
|
# File path to information file
|
||||||
|
update_latest_version_info)
|
||||||
|
UPDATE_LATEST_VERSION_INFO="${VALUE}"
|
||||||
|
;;
|
||||||
|
|
||||||
|
# Local directory where lynis directory will be placed
|
||||||
|
update_local_directory)
|
||||||
|
UPDATE_LOCAL_DIRECTORY="${VALUE}"
|
||||||
|
;;
|
||||||
|
|
||||||
|
# Local file to maintain current version
|
||||||
|
update_local_version_info)
|
||||||
|
UPDATE_LOCAL_VERSION_INFO="${VALUE}"
|
||||||
|
;;
|
||||||
|
|
||||||
# Options during upload of data
|
# Options during upload of data
|
||||||
upload_options)
|
upload_options)
|
||||||
UPLOAD_OPTIONS="${VALUE}"
|
UPLOAD_OPTIONS="${VALUE}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user