diff --git a/.gitignore b/.gitignore index caacc97..d73d4b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -kubernetes-bench-security -cis_kubernetes +kube-bench *.swp diff --git a/cmd/common.go b/cmd/common.go index 14fffe8..adb36e1 100644 --- a/cmd/common.go +++ b/cmd/common.go @@ -22,7 +22,7 @@ import ( "regexp" "strings" - "github.com/aquasecurity/kubernetes-bench-security/check" + "github.com/aquasecurity/kube-bench/check" "github.com/fatih/color" "github.com/spf13/viper" ) diff --git a/cmd/federated.go b/cmd/federated.go index 6e6f48f..d2a30b4 100644 --- a/cmd/federated.go +++ b/cmd/federated.go @@ -15,7 +15,7 @@ package cmd import ( - "github.com/aquasecurity/kubernetes-bench-security/check" + "github.com/aquasecurity/kube-bench/check" "github.com/spf13/cobra" ) diff --git a/cmd/master.go b/cmd/master.go index 3c28aec..77910b4 100644 --- a/cmd/master.go +++ b/cmd/master.go @@ -15,7 +15,7 @@ package cmd import ( - "github.com/aquasecurity/kubernetes-bench-security/check" + "github.com/aquasecurity/kube-bench/check" "github.com/spf13/cobra" ) diff --git a/cmd/node.go b/cmd/node.go index 31b9071..655e510 100644 --- a/cmd/node.go +++ b/cmd/node.go @@ -15,7 +15,7 @@ package cmd import ( - "github.com/aquasecurity/kubernetes-bench-security/check" + "github.com/aquasecurity/kube-bench/check" "github.com/spf13/cobra" ) diff --git a/main.go b/main.go index 0766c6b..f42e122 100644 --- a/main.go +++ b/main.go @@ -14,7 +14,7 @@ package main -import "github.com/aquasecurity/kubernetes-bench-security/cmd" +import "github.com/aquasecurity/kube-bench/cmd" func main() { cmd.Execute() diff --git a/makefile b/makefile index 86581e4..c0a68dd 100644 --- a/makefile +++ b/makefile @@ -1,8 +1,7 @@ SOURCES := $(shell find . -name '*.go') TARGET_OS := linux +BINARY := kube-bench -cis_kubernetes: $(SOURCES) - GOOS=$(TARGET_OS) go build -o cis_kubernetes . +$(BINARY): $(SOURCES) + GOOS=$(TARGET_OS) go build -o $(BINARY) . -install: cis_kubernetes - ./install.sh \ No newline at end of file