Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-bench
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
aquasecurity
kube-bench
Commits
dcd416a5
Commit
dcd416a5
authored
7 years ago
by
Liz Rice
Browse files
Options
Downloads
Patches
Plain Diff
Executable name changes
Updates to travis file, readme and help text
parent
f123db14
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+1
-1
1 addition, 1 deletion
.travis.yml
README.md
+2
-6
2 additions, 6 deletions
README.md
cmd/root.go
+1
-1
1 addition, 1 deletion
cmd/root.go
with
4 additions
and
8 deletions
.travis.yml
+
1
−
1
View file @
dcd416a5
...
@@ -6,4 +6,4 @@ install:
...
@@ -6,4 +6,4 @@ install:
-
go get github.com/spf13/viper
-
go get github.com/spf13/viper
-
go get gopkg.in/yaml.v2
-
go get gopkg.in/yaml.v2
script
:
script
:
-
go build -o
cis_kubernetes
.
-
go build -o
kube-bench
.
This diff is collapsed.
Click to expand it.
README.md
+
2
−
6
View file @
dcd416a5
...
@@ -21,7 +21,7 @@ If Go is installed on the target machines, you can simply clone this repository
...
@@ -21,7 +21,7 @@ If Go is installed on the target machines, you can simply clone this repository
```
./kube-bench
<master
|
node
>
```
```
./kube-bench
<master
|
node
>
```
## Usage
## Usage
```
./
cis_kubernetes
[command]
```
```
./
kube-bench
[command]
```
```
```
Available Commands:
Available Commands:
...
@@ -33,7 +33,7 @@ Available Commands:
...
@@ -33,7 +33,7 @@ Available Commands:
Flags:
Flags:
-c, --check string A comma-delimited list of checks to run as specified in CIS document. Example --check="1.1.1,1.1.2"
-c, --check string A comma-delimited list of checks to run as specified in CIS document. Example --check="1.1.1,1.1.2"
-g, --group string Run all the checks under this comma-delimited list of groups. Example --group="1.1"
-g, --group string Run all the checks under this comma-delimited list of groups. Example --group="1.1"
-h, --help help for
cis_kubernetes
-h, --help help for
kube-bench
--json Output results as JSON
--json Output results as JSON
```
```
...
@@ -89,7 +89,3 @@ These operations are:
...
@@ -89,7 +89,3 @@ These operations are:
- `lte`: tests if the flag value is less than or equal to the compared value.
- `lte`: tests if the flag value is less than or equal to the compared value.
- `has`: tests if the flag value contains the compared value.
- `has`: tests if the flag value contains the compared value.
- `nothave`: tests if the flag value does not contain the compared value.
- `nothave`: tests if the flag value does not contain the compared value.
This diff is collapsed.
Click to expand it.
cmd/root.go
+
1
−
1
View file @
dcd416a5
...
@@ -40,7 +40,7 @@ var (
...
@@ -40,7 +40,7 @@ var (
// RootCmd represents the base command when called without any subcommands
// RootCmd represents the base command when called without any subcommands
var
RootCmd
=
&
cobra
.
Command
{
var
RootCmd
=
&
cobra
.
Command
{
Use
:
"cis_kubernetes"
,
Use
:
os
.
Args
[
0
]
,
Short
:
"Run CIS Benchmarks checks against a Kubernetes deployment"
,
Short
:
"Run CIS Benchmarks checks against a Kubernetes deployment"
,
Long
:
`This tool runs the CIS Kubernetes 1.6 Benchmark v1.0.0 checks.`
,
Long
:
`This tool runs the CIS Kubernetes 1.6 Benchmark v1.0.0 checks.`
,
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment