Skip to content

Commit

Permalink
Fixes from review
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <tsmith84@gmail.com>
  • Loading branch information
tas50 committed Jun 29, 2023
1 parent 45c8756 commit ab486a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/cnspec/cmd/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ var policyLintCmd = &cobra.Command{
var policyFmtCmd = &cobra.Command{
Use: "format [path]",
Aliases: []string{"fmt"},
Short: "Apply style formatting to a policy bundle.",
Short: "Apply style formatting to one or more policy bundles.",
Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
for _, path := range args {
Expand Down Expand Up @@ -214,7 +214,7 @@ var policyPublishCmd = &cobra.Command{
}
queryHubServices, err := policy.NewPolicyHubClient(opts.UpstreamApiEndpoint(), httpClient, certAuth)
if err != nil {
log.Fatal().Err(err).Msg("could not connect to Security Registry")
log.Fatal().Err(err).Msg("could not connect to the Mondoo Security Registry")
}

// set the owner mrn for spaces
Expand Down
4 changes: 2 additions & 2 deletions apps/cnspec/cmd/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,12 @@ scan execute on an instance that is running inside of AWS.`,
"aws-ec2-ebs-volume": {
Short: "Connect to a specific AWS volume using an EBS volume scan. This requires an AWS host.",
Long: `Connect to a specific AWS volume using an EBS volume scan. This requires that the
scan execute on an instance that is running inside of AWS.`,
scan execute on an instance that is running inside of AWS.`,
},
"aws-ec2-ebs-snapshot": {
Short: "Connect to a specific AWS snapshot using an EBS volume scan. This requires an AWS host.",
Long: `Connect to a specific AWS snapshot using an EBS volume scan. This requires that the
scan execute on an instance that is running inside of AWS.`,
scan execute on an instance that is running inside of AWS.`,
},
"aws-ec2-ssm": {
Short: "Connect to an AWS instance using the AWS Systems Manager to connect.",
Expand Down

0 comments on commit ab486a1

Please sign in to comment.