From f123db14a985aab5427d7995c32848e62909ec55 Mon Sep 17 00:00:00 2001
From: Liz Rice <liz@lizrice.com>
Date: Tue, 20 Jun 2017 09:38:15 +0100
Subject: [PATCH] Update import names and makefile for name change

---
 .gitignore       | 3 +--
 cmd/common.go    | 2 +-
 cmd/federated.go | 2 +-
 cmd/master.go    | 2 +-
 cmd/node.go      | 2 +-
 main.go          | 2 +-
 makefile         | 7 +++----
 7 files changed, 9 insertions(+), 11 deletions(-)

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
-- 
GitLab