mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-01-19 04:01:07 +00:00
Remove kube-bench --help output.
It has grown stale and no longer reflects the supported options, and can be misleading (see #127).
This commit is contained in:
parent
5da707b8d6
commit
609335510a
20
README.md
20
README.md
@ -55,25 +55,13 @@ go get github.com/Masterminds/glide
|
|||||||
cd $GOPATH/src/github.com/aquasecurity/kube-bench
|
cd $GOPATH/src/github.com/aquasecurity/kube-bench
|
||||||
$GOPATH/bin/glide install
|
$GOPATH/bin/glide install
|
||||||
go build -o kube-bench .
|
go build -o kube-bench .
|
||||||
./kube-bench <master|node>
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
# See all supported options
|
||||||
```./kube-bench [command]```
|
./kube-bench --help
|
||||||
|
|
||||||
```
|
# Run the all checks on a master node
|
||||||
Available Commands:
|
./kube-bench master
|
||||||
federated Run benchmark checks for a Kubernetes federated deployment.
|
|
||||||
help Help about any command
|
|
||||||
master Run benchmark checks for a Kubernetes master node.
|
|
||||||
node Run benchmark checks for a Kubernetes node.
|
|
||||||
|
|
||||||
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"
|
|
||||||
--config string config file (default is ./cfg/config.yaml)
|
|
||||||
-g, --group string Run all the checks under this comma-delimited list of groups. Example --group="1.1"
|
|
||||||
--json Prints the results as JSON
|
|
||||||
-v, --verbose verbose output (default false)
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user