From 191c21de3a6bb9d51f69c81741d56708d4b823d9 Mon Sep 17 00:00:00 2001 From: Catherine Luse Date: Tue, 28 Apr 2020 15:53:06 -0700 Subject: [PATCH] Fix formatting of JSON snippet --- .../rancher/v2.x/en/security/security-scan/_index.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/content/rancher/v2.x/en/security/security-scan/_index.md b/content/rancher/v2.x/en/security/security-scan/_index.md index 7a889e87090..3782ebb6a3e 100644 --- a/content/rancher/v2.x/en/security/security-scan/_index.md +++ b/content/rancher/v2.x/en/security/security-scan/_index.md @@ -189,8 +189,15 @@ To skip tests by editing a ConfigMap resource, 1. Create a ConfigMap named `security-scan-cfg`. 1. Enter the skip information under the key `config.json` in the following format: - ``` - {"skip": {"rke-cis-1.4": [ "1.1.1", "1.2.2"]}} + ```json + { + "skip": { + "rke-cis-1.4": [ + "1.1.1", + "1.2.2" + ] + } + } ``` In the example above, the CIS benchmark version is specified alongside the tests to be skipped for that version.