From 1e25e089d08f40d1031706a41853e158fddea1df Mon Sep 17 00:00:00 2001 From: Liz Rice Date: Thu, 11 Jan 2018 16:54:40 +0000 Subject: [PATCH 1/3] Minor format update to readme --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1f2b2db..f27d229 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,14 @@ Run ```docker run --rm -v `pwd`:/host aquasec/kube-bench:latest```. This will co 2. Install from sources: If Go is installed on the target machines, you can simply clone this repository and run as follows (assuming your [$GOPATH is set](https://github.com/golang/go/wiki/GOPATH)): -```go get github.com/aquasecurity/kube-bench``` -```go get github.com/Masterminds/glide``` -```cd $GOPATH/src/github.com/aquasecurity/kube-bench``` -```$GOPATH/bin/glide install``` -```go build -o kube-bench . ``` -```./kube-bench ``` + +```go get github.com/aquasecurity/kube-bench +go get github.com/Masterminds/glide +cd $GOPATH/src/github.com/aquasecurity/kube-bench +$GOPATH/bin/glide install +go build -o kube-bench . +./kube-bench +``` ## Usage ```./kube-bench [command]``` From cbe02e1d5edbcfab1f99fe968c58e2e1db8e6f4e Mon Sep 17 00:00:00 2001 From: jerbia Date: Mon, 15 Jan 2018 00:59:27 +0200 Subject: [PATCH 2/3] Fixed typo in entrypoint.sh (#86) The entrypoint.sh had a typo where it tried coping files from "/kube-bench" instead of just "/". --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 4ccd821..ad28fbf 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,8 +1,8 @@ #!/bin/sh if [ -d /host ]; then mkdir -p /host/cfg/ - yes | cp -rf ./kube-bench/cfg/* /host/cfg/ - yes | cp -rf ./kube-bench/kube-bench /host/ + yes | cp -rf /cfg/* /host/cfg/ + yes | cp -rf /kube-bench /host/ echo "===============================================" echo "kube-bench is now installed on your host " echo "Run ./kube-bench to perform a security check " From 850cde23e96df39024a74c6a44ea318b642fff3d Mon Sep 17 00:00:00 2001 From: jerbia Date: Mon, 15 Jan 2018 01:24:42 +0200 Subject: [PATCH 3/3] Added travis token (#87) --- .travis.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index c9bf753..9a885dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,9 @@ language: go -install: - - go get github.com/aquasecurity/kube-bench +install: +- go get github.com/aquasecurity/kube-bench script: - - go test ./... - - go build -o kube-bench . +- go test ./... +- go build -o kube-bench . +env: + global: + secure: mb8AYZKDo6hkKN+2F9ldXcw27Yn2AfxpXvKlD8GD7NdGOI+TaiSFbE0I+qqTa/1DqcRekCQwqN7OG/17s9JDkgzUXYuYUGlVUOM4WbeJoSlzJFIOh9r9R/JddluYJohypgkE20IBHIrEHq5sY0Nn1Pl9WgSQFaVcQjxkX009AOuVjN0o5HcoXsb5hAzvHrpoSPkcSSqq7VWab60TgUttVaRlZSGwGdSYQEqk5TdO0hWHuXyxaaEPybgFIyZLLbxPS4JmMz8n3Sngetpw9Jgc+V9Fc7wKXpjvZZ33SpArG5p5ZFFu2YQOXFLZth9qtQOjduQ2gU1kHN6WjWnJ8QX2s8vmU38Tk19kd5i+mz9dvc87IdBvmTIqVYSpM6AAYa2osBGP3f97Rj2S68lTad4ecSVyHdsjz56vdE3ZH4wskswmogbKkVdvO4biPHxT6odszBxYLEJuRJyZ7ckXd52MCzqAUPrw7YUuH8N1mLIlf7V5bW5R+q4DlKw774zxnHiWrymXGvlINSrB0qxBn8Fii6ib+Pacl3PuqSumCcgIHlVjqrzIXaqcTMn2/ABZYC99mralGvwA/EgNa8CBKB5evMCEwWa5Ntvcs2I2DFcO5Q2WzN4H0YScyAzzCzK7/3hWJE/rUIJntwiSXkV3MSa1yxWSGGH8F1lcz+lzgTBm/MU=