mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
Extended details for Redis tests
This commit is contained in:
parent
f4ed6f11df
commit
6fde12e579
@ -220,7 +220,7 @@
|
||||
else
|
||||
AddHP 0 3
|
||||
Display --indent 4 --text "- Redis (requirepass configured)" --result "${STATUS_NOT_FOUND}" --color YELLOW
|
||||
ReportSuggestion "${TEST_NO}" "Configure the 'requirepass' setting for Redis" "${REDIS_CONFIGURATION}" "solution:configure 'requirepass' setting"
|
||||
ReportSuggestion "${TEST_NO}" "Configure the 'requirepass' setting for Redis" "${REDIS_CONFIGURATION}" "text:configure 'requirepass' setting in ${REDIS_CONFIGURATION}"
|
||||
Report "redis_requirepass=0"
|
||||
fi
|
||||
else
|
||||
@ -244,7 +244,7 @@
|
||||
else
|
||||
AddHP 0 3
|
||||
Display --indent 4 --text "- Redis (rename of CONFIG command)" --result "${STATUS_NOT_FOUND}" --color YELLOW
|
||||
ReportSuggestion "${TEST_NO}" "Use the 'rename-command CONFIG' setting for Redis" "${REDIS_CONFIGURATION}" "solution:configure 'requirepass' setting"
|
||||
ReportSuggestion "${TEST_NO}" "Use the 'rename-command CONFIG' setting for Redis" "${REDIS_CONFIGURATION}" "text:configure 'rename-command CONFIG' in ${REDIS_CONFIGURATION}"
|
||||
Report "redis_rename_command_config=0"
|
||||
fi
|
||||
else
|
||||
@ -268,7 +268,7 @@
|
||||
else
|
||||
AddHP 0 3
|
||||
Display --indent 4 --text "- Redis (bind on localhost)" --result "${STATUS_NOT_FOUND}" --color YELLOW
|
||||
ReportSuggestion "${TEST_NO}" "Use 'bind' setting to listen on localhost for Redis instance" "${REDIS_CONFIGURATION}" "solution:configure 'bind localhost' to listen on localhost only"
|
||||
ReportSuggestion "${TEST_NO}" "Use 'bind' setting to listen on localhost for Redis instance" "${REDIS_CONFIGURATION}" "text:configure 'bind localhost' in ${REDIS_CONFIGURATION}"
|
||||
Report "redis_bind_localhost=0"
|
||||
fi
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user