mirror of
https://github.com/docker/docker-bench-security.git
synced 2024-11-01 08:31:44 +01:00
Merge pull request #391 from konstruktoid/master
catch community editions.
This commit is contained in:
commit
495a8674c4
1 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,7 @@ check_8() {
|
|||
}
|
||||
|
||||
check_product_license() {
|
||||
if docker version | grep -qi '^Client.*Community$'; then
|
||||
if docker version | grep -Eqi '^Server.*Community$|Version.*-ce$'; then
|
||||
info " * Community Engine license, skipping section 8"
|
||||
enterprise_license=0
|
||||
else
|
||||
|
@ -23,7 +23,6 @@ check_8_1() {
|
|||
return
|
||||
fi
|
||||
|
||||
logit "\n"
|
||||
id_8_1="8.1"
|
||||
desc_8_1="Universal Control Plane Configuration"
|
||||
check_8_1="$id_8_1 - $desc_8_1"
|
||||
|
|
Loading…
Reference in a new issue