mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
restrictive PATH
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
01c915485e
commit
32bdece6ac
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ dir_name=`dirname ${this_path}` ## Dir where this file is
|
||||||
myname=`basename ${this_path}` ## file name of this script.
|
myname=`basename ${this_path}` ## file name of this script.
|
||||||
logger="${myname}.log"
|
logger="${myname}.log"
|
||||||
|
|
||||||
|
export PATH=/bin:/sbin:/usr/bin
|
||||||
|
|
||||||
# Check for required program(s)
|
# Check for required program(s)
|
||||||
req_progs='docker netstat grep awk'
|
req_progs='docker netstat grep awk'
|
||||||
|
|
Loading…
Reference in a new issue