mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-06-28 07:36:43 +00:00
Merge d603f806d1
into 056768e78d
This commit is contained in:
commit
1998cfe082
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ fi
|
|||
# 1.9
|
||||
check_1_9="1.9 - Audit Docker files and directories - /var/lib/docker"
|
||||
directory="/var/lib/docker"
|
||||
if [ -d "$file" ]; then
|
||||
if [ -d "$directory" ]; then
|
||||
command -v auditctl >/dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
auditctl -l | grep $directory >/dev/null 2>&1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue