mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-31 01:34:23 +02:00
Changed test IDs of place holders
This commit is contained in:
parent
c17fcfd92d
commit
9023f17662
@ -609,11 +609,11 @@
|
|||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
#
|
||||||
# Test : HTTP-6712
|
# Test : HTTP-67xx
|
||||||
# Description : Check if nginx is running as a reverse proxy
|
# Description : Check if nginx is running as a reverse proxy
|
||||||
# Notes : aliases are not counted yet (YYY)
|
# Notes : aliases are not counted yet (YYY)
|
||||||
# if [ ${NGINX_RUNNING} -eq 1 -a ! "${NGINX_CONF_LOCATION}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
# if [ ${NGINX_RUNNING} -eq 1 -a ! "${NGINX_CONF_LOCATION}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||||
# Register --test-no HTTP-6708 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check nginx virtual hosts"
|
# Register --test-no HTTP-67xx --preqs-met ${PREQS_MET} --weight L --network NO --description "Check nginx virtual hosts"
|
||||||
# if [ ${SKIPTEST} -eq 0 ]; then
|
# if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
# N=0
|
# N=0
|
||||||
# logtext "Test: searching proxy_pass statement in configuration file ${NGINX_CONF_LOCATION}"
|
# logtext "Test: searching proxy_pass statement in configuration file ${NGINX_CONF_LOCATION}"
|
||||||
@ -633,11 +633,11 @@
|
|||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
#
|
||||||
# Test : HTTP-6712
|
# Test : HTTP-67xx
|
||||||
# Description : Search for nginx virtual hosts
|
# Description : Search for nginx virtual hosts
|
||||||
# Notes : Test if not aware yet of included configuration files
|
# Notes : Test if not aware yet of included configuration files
|
||||||
# if [ ${NGINX_RUNNING} -eq 1 -a ! "${NGINX_CONF_LOCATION}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
# if [ ${NGINX_RUNNING} -eq 1 -a ! "${NGINX_CONF_LOCATION}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||||
# Register --test-no HTTP-6712 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check nginx virtual hosts"
|
# Register --test-no HTTP-67xx --preqs-met ${PREQS_MET} --weight L --network NO --description "Check nginx virtual hosts"
|
||||||
# if [ ${SKIPTEST} -eq 0 ]; then
|
# if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
# N=0
|
# N=0
|
||||||
# logtext "Test: searching nginx virtual hosts"
|
# logtext "Test: searching nginx virtual hosts"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user