mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
initial commit of tests/99_community_checks.sh v1.3.1
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
32c5e5f1fb
commit
c1457e6ad3
1 changed files with 12 additions and 11 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
check_c() {
|
||||
logit ""
|
||||
local id="99"
|
||||
|
@ -10,9 +11,9 @@ check_c() {
|
|||
|
||||
check_c_1() {
|
||||
local id="C.1"
|
||||
local desc="This is a example check for a Scored check"
|
||||
local remediation="This is an example remediation measure for a Scored check"
|
||||
local remediationImpact="This is an example remediation impact for a Scored check"
|
||||
local desc="This is a example check for a Automated check"
|
||||
local remediation="This is an example remediation measure for a Automated check"
|
||||
local remediationImpact="This is an example remediation impact for a Automated check"
|
||||
local check="$id - $desc"
|
||||
starttestjson "$id" "$desc"
|
||||
|
||||
|
@ -32,9 +33,9 @@ check_c_1() {
|
|||
|
||||
check_c_1_1() {
|
||||
local id="C.1.1"
|
||||
local desc="This is a example check for a Not Scored check"
|
||||
local remediation="This is an example remediation measure for a Not Scored check"
|
||||
local remediationImpact="This is an example remediation impact for a Not Scored check"
|
||||
local desc="This is a example check for a Manual check"
|
||||
local remediation="This is an example remediation measure for a Manual check"
|
||||
local remediationImpact="This is an example remediation impact for a Manual check"
|
||||
local check="$id - $desc"
|
||||
starttestjson "$id" "$desc"
|
||||
|
||||
|
|
Loading…
Reference in a new issue