diff --git a/.gitignore b/.gitignore index caacc97309f102cf9a1e0de6b18c4421fbf99cf6..d73d4b73f156d7c77d05af4b5963c1c46dd67ab7 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 14fffe805d39f493f337f0c743a25ef2b3703fef..adb36e1dafd947a6e71e1b41fa261a230200bfc4 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 6e6f48fb3f758fa24e8a3f95aecb0d1a9647922a..d2a30b4e4dfbe5eb0ec7076900e8a0ce630c6176 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 3c28aec1d9d7c40d5a2ca25bf0c45da788f1e321..77910b440790d567a2073a7e24958d64d7365c74 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 31b9071b3d3e71f59c77641555ad777dea310d58..655e5109d5b5e20370fd974b7374df22d9f442e9 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 0766c6bc29e78307962303c0bc62d1c510dd0644..f42e1225655fc171733fb7352c01c04fa00e70d2 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 86581e48aef55015062dc38972985c098f83b78b..c0a68ddc15652298e8510da74c2b3c17dcb16b6b 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