mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-11-05 03:18:58 +00:00
shellcheck
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
bf42355279
commit
ddad135d13
5 changed files with 11 additions and 11 deletions
|
|
@ -110,7 +110,7 @@ check_1_2_3() {
|
|||
starttestjson "$id_1_2_3" "$desc_1_2_3"
|
||||
|
||||
totalChecks=$((totalChecks + 1))
|
||||
file="/usr/bin/dockerd"
|
||||
file="/usr/bin/dockerd"
|
||||
if command -v auditctl >/dev/null 2>&1; then
|
||||
if auditctl -l | grep "$file" >/dev/null 2>&1; then
|
||||
pass "$check_1_2_3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue