mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-11-22 08:08:07 +00:00
Update import names and makefile for name change
This commit is contained in:
parent
e03f5c846f
commit
f123db14a9
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
kubernetes-bench-security
|
kube-bench
|
||||||
cis_kubernetes
|
|
||||||
*.swp
|
*.swp
|
||||||
|
@ -22,7 +22,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/aquasecurity/kubernetes-bench-security/check"
|
"github.com/aquasecurity/kube-bench/check"
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/aquasecurity/kubernetes-bench-security/check"
|
"github.com/aquasecurity/kube-bench/check"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/aquasecurity/kubernetes-bench-security/check"
|
"github.com/aquasecurity/kube-bench/check"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/aquasecurity/kubernetes-bench-security/check"
|
"github.com/aquasecurity/kube-bench/check"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
2
main.go
2
main.go
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "github.com/aquasecurity/kubernetes-bench-security/cmd"
|
import "github.com/aquasecurity/kube-bench/cmd"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
cmd.Execute()
|
cmd.Execute()
|
||||||
|
7
makefile
7
makefile
@ -1,8 +1,7 @@
|
|||||||
SOURCES := $(shell find . -name '*.go')
|
SOURCES := $(shell find . -name '*.go')
|
||||||
TARGET_OS := linux
|
TARGET_OS := linux
|
||||||
|
BINARY := kube-bench
|
||||||
|
|
||||||
cis_kubernetes: $(SOURCES)
|
$(BINARY): $(SOURCES)
|
||||||
GOOS=$(TARGET_OS) go build -o cis_kubernetes .
|
GOOS=$(TARGET_OS) go build -o $(BINARY) .
|
||||||
|
|
||||||
install: cis_kubernetes
|
|
||||||
./install.sh
|
|
Loading…
Reference in New Issue
Block a user