Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capitalize Mondoo Platform in a few places #4464

Merged
merged 4 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ lr/docs/markdown: providers/lr
--output ../docs/docs/mql/resources/snowflake-pack
./lr markdown providers/mondoo/resources/mondoo.lr \
--pack-name "Mondoo" \
--description "The Mondoo resource pack lets you interact with the Mondoo platform and its assets and resources." \
--description "The Mondoo resource pack lets you interact with the Mondoo Platform and its assets and resources." \
tas50 marked this conversation as resolved.
Show resolved Hide resolved
--docs-file providers/mondoo/resources/mondoo.lr.manifest.yaml \
--output ../docs/docs/mql/resources/mondoo-pack

Expand Down
5 changes: 3 additions & 2 deletions providers-sdk/v1/upstream/health/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ package health
import (
"context"
"fmt"
"runtime/debug"

"github.com/rs/zerolog/log"
"go.mondoo.com/cnquery/v11/cli/config"
"go.mondoo.com/cnquery/v11/providers-sdk/v1/upstream"
"go.mondoo.com/ranger-rpc"
"runtime/debug"
)

//go:generate protoc --proto_path=. --go_out=. --go_opt=paths=source_relative --rangerrpc_out=. errors.proto
Expand Down Expand Up @@ -90,5 +91,5 @@ func sendPanic(product, version, build string, r any, stacktrace []byte) {
return
}

log.Info().Msg("reported panic to Mondoo platform")
log.Info().Msg("reported panic to Mondoo Platform")
}
2 changes: 1 addition & 1 deletion providers-sdk/v1/upstream/upstream.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions providers-sdk/v1/upstream/upstream.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ message UpstreamConfig {
string api_proxy = 6;
}

// ServiceAccountCredentials are used to authenticate with the Mondoo platform
// ServiceAccountCredentials are used to authenticate with the Mondoo Platform
tas50 marked this conversation as resolved.
Show resolved Hide resolved
message ServiceAccountCredentials {
// MRN of the service account
string mrn = 1;
Expand All @@ -33,7 +33,7 @@ message ServiceAccountCredentials {

service AgentManager {
// RegisterAgent registers a new managed agent
rpc RegisterAgent(AgentRegistrationRequest)
rpc RegisterAgent(AgentRegistrationRequest)
returns (AgentRegistrationConfirmation);

// UnRegister removes the managed agent from management
Expand Down Expand Up @@ -82,7 +82,7 @@ message AgentRegistrationConfirmation {
ServiceAccountCredentials credential = 2;
}

message Mrn {
message Mrn {
string mrn = 1;
}

Expand Down Expand Up @@ -121,4 +121,4 @@ message SshSignature {
string alg = 1;
string kid = 2;
string sig = 3;
}
}
2 changes: 1 addition & 1 deletion providers/mondoo/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var Config = plugin.Provider{
{
Name: "mondoo",
Use: "mondoo",
Short: "a Mondoo platform",
Short: "the Mondoo Platform",
tas50 marked this conversation as resolved.
Show resolved Hide resolved
MinArgs: 0,
MaxArgs: 4,
Discovery: []string{},
Expand Down
Loading