Skip to content

Commit

Permalink
fixes per @tas50 review
Browse files Browse the repository at this point in the history
  • Loading branch information
misterpantz committed Jan 28, 2025
1 parent 83b220d commit 5bb6ecd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion providers/gcp/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var Config = plugin.Provider{
Examples without logging into and configuring GCP:
cnquery shell gcp org <ORGANIZATION-ID> --credentials-path <PATH-TO-YOUR-SERVICE-ACCT>
cnspec scan gcp project <PROJECT-ID> --credentials-path <PATH-TO-YOUR-SERVICE-ACCT>
cnspec scan gcp project <PROJECT-ID> --credentials-path <PATH-TO-YOUR-SERVICE-ACCT>
Note:
If you log into GCP and configure the project you want to query or scan, you can omit credentials. To learn how, read https://mondoo.com/docs/cnspec/cloud/gcp/.
Expand Down
2 changes: 1 addition & 1 deletion providers/k8s/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Requirement:
Examples:
cnquery shell k8s
cnspec scan k8s
cnspec <MANIFEST-FILE>
cnspec <MANIFEST-FILE>
`,
MinArgs: 0,
MaxArgs: 1,
Expand Down
4 changes: 2 additions & 2 deletions providers/network/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ var Config = plugin.Provider{
{
Name: "host",
Use: "host HOST",
Short: "a remote host",
Long: `Use the host provider to query remote hosts.
Short: "a remote HTTP or HTTPS host",
Long: `Use the host provider to query remote HTTP or HTTPS hosts.
Examples:
cnquery shell host <YOUR-DOMAIN-OR-IP>
Expand Down
4 changes: 2 additions & 2 deletions providers/os/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Examples:
Name: "container",
Use: "container",
Short: "a running container or container image",
Long: `Use the vagrant provider to query running containers or container images.
Long: `Use the container provider to query running containers or container images.
Examples:
cnspec scan container ubuntu:latest
Expand Down Expand Up @@ -242,7 +242,7 @@ Examples:
Name: "docker",
Use: "docker",
Short: "a running Docker container, Docker image, or Dockerfile",
Long: `Use the docker provider to query running docker containers or container images in public or private container registries using their registry name. Or scan a Dockerfile by specifying its path.
Long: `Use the docker provider to query running Docker containers or container images in public or private container registries using their registry name. Or scan a Dockerfile by specifying its path.
Examples:
cnspec scan docker <DOCKER-CONTAINER-ID>
Expand Down

0 comments on commit 5bb6ecd

Please sign in to comment.