mirror of
https://github.com/docker/docker-bench-security.git
synced 2024-11-01 08:31:44 +01:00
commit
19173cb954
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ check_2_6() {
|
||||||
starttestjson "$id_2_6" "$desc_2_6"
|
starttestjson "$id_2_6" "$desc_2_6"
|
||||||
|
|
||||||
totalChecks=$((totalChecks + 1))
|
totalChecks=$((totalChecks + 1))
|
||||||
if [ grep -i 'tcp://' "$CONFIG_FILE" 2>/dev/null 1>&2 ] || \
|
if grep -qi 'tcp://' "$CONFIG_FILE" || \
|
||||||
[ $(get_docker_cumulative_command_line_args '-H' | grep -vE '(unix|fd)://') >/dev/null 2>&1 ]; then
|
[ $(get_docker_cumulative_command_line_args '-H' | grep -vE '(unix|fd)://') >/dev/null 2>&1 ]; then
|
||||||
if [ $(get_docker_configuration_file_args '"tlsverify":' | grep 'true') ] || \
|
if [ $(get_docker_configuration_file_args '"tlsverify":' | grep 'true') ] || \
|
||||||
[ $(get_docker_cumulative_command_line_args '--tlsverify' | grep 'tlsverify') >/dev/null 2>&1 ]; then
|
[ $(get_docker_cumulative_command_line_args '--tlsverify' | grep 'tlsverify') >/dev/null 2>&1 ]; then
|
||||||
|
|
Loading…
Reference in a new issue