mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
tmp fix for json
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
7ad1c816e8
commit
71f63a192a
3 changed files with 0 additions and 24 deletions
|
@ -5,7 +5,6 @@ host_configuration() {
|
|||
check_1_1
|
||||
check_1_1_1
|
||||
check_1_1_2
|
||||
check_1_1_end
|
||||
check_1_2
|
||||
check_1_2_1
|
||||
check_1_2_2
|
||||
|
@ -19,7 +18,6 @@ host_configuration() {
|
|||
check_1_2_10
|
||||
check_1_2_11
|
||||
check_1_2_12
|
||||
check_1_2_end
|
||||
check_1_end
|
||||
}
|
||||
|
||||
|
@ -158,10 +156,8 @@ docker_enterprise_configuration() {
|
|||
check_8_1_5
|
||||
check_8_1_6
|
||||
check_8_1_7
|
||||
check_8_1_end
|
||||
check_8_2
|
||||
check_8_2_1
|
||||
check_8_2_end
|
||||
check_8_end
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@ check_1_1() {
|
|||
desc_1_1="General Configuration"
|
||||
check_1_1="$id_1_1 - $desc_1_1"
|
||||
info "$check_1_1"
|
||||
startsectionjson "$id_1_1" "$desc_1_1"
|
||||
}
|
||||
|
||||
# 1.1.1
|
||||
|
@ -58,17 +57,12 @@ check_1_1_2() {
|
|||
fi
|
||||
}
|
||||
|
||||
check_1_1_end() {
|
||||
endsectionjson
|
||||
}
|
||||
|
||||
check_1_2() {
|
||||
logit ""
|
||||
id_1_2="1.2"
|
||||
desc_1_2="Linux Hosts Specific Configuration"
|
||||
check_1_2="$id_1_2 - $desc_1_2"
|
||||
info "$check_1_2"
|
||||
startsectionjson "$id_1_2" "$desc_1_2"
|
||||
}
|
||||
|
||||
# 1.2.1
|
||||
|
@ -471,10 +465,6 @@ check_1_2_12() {
|
|||
fi
|
||||
}
|
||||
|
||||
check_1_2_end() {
|
||||
endsectionjson
|
||||
}
|
||||
|
||||
check_1_end() {
|
||||
endsectionjson
|
||||
}
|
||||
|
|
|
@ -28,7 +28,6 @@ check_8_1() {
|
|||
desc_8_1="Universal Control Plane Configuration"
|
||||
check_8_1="$id_8_1 - $desc_8_1"
|
||||
info "$check_8_1"
|
||||
startsectionjson "$id_8_1" "$desc_8_1"
|
||||
}
|
||||
|
||||
# 8.1.1
|
||||
|
@ -150,10 +149,6 @@ check_8_1_7() {
|
|||
currentScore=$((currentScore + 0))
|
||||
}
|
||||
|
||||
check_8_1_end() {
|
||||
endsectionjson
|
||||
}
|
||||
|
||||
check_8_2() {
|
||||
if [ "$enterprise_license" -ne 1 ]; then
|
||||
return
|
||||
|
@ -164,7 +159,6 @@ check_8_2() {
|
|||
desc_8_2="Docker Trusted Registry Configuration"
|
||||
check_8_2="$id_8_2 - $desc_8_2"
|
||||
info "$check_8_2"
|
||||
startsectionjson "$id_8_2" "$desc_8_2"
|
||||
}
|
||||
|
||||
check_8_2_1() {
|
||||
|
@ -183,10 +177,6 @@ check_8_2_1() {
|
|||
currentScore=$((currentScore + 0))
|
||||
}
|
||||
|
||||
check_8_2_end() {
|
||||
endsectionjson
|
||||
}
|
||||
|
||||
check_8_end() {
|
||||
endsectionjson
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue