Fixed invalid JSON log

This commit is contained in:
Razvan Stoica 2021-03-11 15:00:12 +02:00
commit 11886d47d8
3 changed files with 13 additions and 13 deletions

View file

@ -13,7 +13,7 @@ check_2() {
check_2_1() {
local id="2.1"
local desc="Ensure network traffic is restricted between containers on the default bridge (Scored)"
local remediation="Edit the Docker daemon configuration file to ensure that inter-container communication is disabled: \"icc\": false."
local remediation="Edit the Docker daemon configuration file to ensure that inter-container communication is disabled: \'icc\': false."
local remediationImpact="Inter-container communication is disabled on the default network bridge. If any communication between containers on the same host is desired, it needs to be explicitly defined using container linking or custom networks."
local check="$id - $desc"
starttestjson "$id" "$desc"