mirror of
https://github.com/docker/docker-bench-security.git
synced 2024-11-01 08:31:44 +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.
|
||||
logger="${myname}.log"
|
||||
|
||||
export PATH=/bin:/sbin:/usr/bin
|
||||
|
||||
# Check for required program(s)
|
||||
req_progs='docker netstat grep awk'
|
||||
|
|
Loading…
Reference in a new issue