From 8dd014734c28939c998733171754fccff207c4c1 Mon Sep 17 00:00:00 2001 From: Omar Santos Date: Sun, 11 Apr 2021 18:23:19 -0400 Subject: [PATCH] Update docker-bench-websploit.sh --- docker-and-k8s-security/docker/docker-bench-websploit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-and-k8s-security/docker/docker-bench-websploit.sh b/docker-and-k8s-security/docker/docker-bench-websploit.sh index 169c9ce..95dd380 100644 --- a/docker-and-k8s-security/docker/docker-bench-websploit.sh +++ b/docker-and-k8s-security/docker/docker-bench-websploit.sh @@ -19,7 +19,7 @@ docker run --rm --net host --pid host --userns host --cap-add audit_control \ -v /var/lib:/var/lib:ro \ -v /var/run/docker.sock:/var/run/docker.sock:ro \ --label docker_bench_security \ - docker/docker-bench-security > bench_results.txt + docker/docker-bench-security > $(whoami)/bench_results.txt cat bench_results.txt | grep WARN @@ -27,4 +27,4 @@ cat bench_results.txt | grep WARN echo "${red}The output above only includes the major findings." echo "${reset}The complete results have been stored at: -${green}$(pwd)/bench_results.txt " +${green}$(whoami)/bench_results.txt "