Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from alcideio/vlussenburg-patch-1
Browse files Browse the repository at this point in the history
Removed Advisor references in GO output
  • Loading branch information
gadinaor authored Oct 30, 2020
2 parents 9963ad5 + c521b15 commit d66dddd
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
57 changes: 28 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,35 +48,34 @@ iskan --cluster-context mycluster --api-config myconfig.yaml

<details>
<summary>iskan cluster command reference(Click to expand)</summary>


```shell script
Get vulnerabilities information on the presently running containers

Usage:
iskan cluster [flags]

Aliases:
cluster, scan-cluster

Flags:
-c, --api-config string The Vulnerability API configuration file name
--cluster-context string Cluster Context .use 'kubectl config get-contexts' to list available contexts
--filter-cvss float32 Include CVEs with CVSS score greater or equal than the specified number. Valid values: 0.0-10.0
--filter-fixable-only Include CVEs with which are fixable
--filter-severity string Select which severities to include. Comma seperated MINIMAL,LOW,MEDIUM,HIGH,CRITICAL
-f, --format string Output format. Supported formats: json | yaml | (default "json")
-h, --help help for cluster
--namespace-exclude string Namespaces to exclude from the scan (default "kube-system")
--namespace-include string Namespaces to include in the scan (default "*")
-o, --outfile string Output file name. Use '-' to output to stdout (default "iskan")
-r, --report-config string The Report configuration file name
--scan-api-burst int32 Maximum burst for throttle (default 100)
--scan-api-qps float32 Indicates the maximum QPS to the vuln providers (default 30)

Global Flags:
-v, --v Level number for the log level verbosity
```

```
Get vulnerabilities information on the presently running containers
Usage:
iskan cluster [flags]
Aliases:
cluster, scan-cluster
Flags:
-c, --api-config string The Vulnerability API configuration file name
--cluster-context string Cluster Context .use 'kubectl config get-contexts' to list available contexts
--filter-cvss float32 Include CVEs with CVSS score greater or equal than the specified number. Valid values: 0.0-10.0
--filter-fixable-only Include CVEs with which are fixable
--filter-severity string Select which severities to include. Comma seperated MINIMAL,LOW,MEDIUM,HIGH,CRITICAL
-f, --format string Output format. Supported formats: json | yaml | html (default "json")
-h, --help help for cluster
--namespace-exclude string Namespaces to exclude from the scan (default "kube-system")
--namespace-include string Namespaces to include in the scan (default "*")
-o, --outfile string Output file name. Use '-' to output to stdout (default "alcide-iskan.report")
-r, --report-config string The Report configuration file name
--scan-api-burst int32 Maximum burst for throttle (default 100)
--scan-api-qps float32 Indicates the maximum QPS to the vuln providers (default 30)
Global Flags:
-v, --v Level number for the log level verbosity
```
</details>

<details>
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ func iSkanGenCmd() *cobra.Command {

var genBashCompletionCmd = &cobra.Command{
Use: "bash-completion",
Short: "Generate bash completion. source < (advisor bash-completion)",
Long: "Generate bash completion. source < (advisor bash-completion)",
Short: "Generate bash completion. source < (iskan bash-completion)",
Long: "Generate bash completion. source < (iskan bash-completion)",
Run: func(cmd *cobra.Command, args []string) {
out := new(bytes.Buffer)
_ = rootCmd.GenBashCompletion(out)
Expand Down

0 comments on commit d66dddd

Please sign in to comment.