Skip to content

GOVULNCHECK grpc - #436

Merged
hossain-rayhan merged 2 commits into
documentdb:mainfrom
alaye-ms:users/alaye/grpcUpdate
Jul 28, 2026
Merged

hossain-rayhan merged 2 commits into
documentdb:mainfrom
alaye-ms:users/alaye/grpcUpdate

Conversation

@alaye-ms

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Alexander Laye <[email protected]>
Copilot AI review requested due to automatic review settings July 28, 2026 21:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Go module dependencies across the operator, CLI plugin, and test modules to address govulncheck findings around gRPC, while also introducing a Fleet/Arc hybrid playground environment file.

Changes:

  • Bump google.golang.org/grpc to v1.82.1 (and related genproto updates) across multiple Go modules.
  • Update sidecar-injector transitive deps (notably OpenTelemetry, oauth2, protobuf) as part of module resolution.
  • Add a Fleet/Arc playground .fleet-env file for the hybrid setup workflow.

Reviewed changes

Copilot reviewed 7 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/shared/go.mod Bumps indirect grpc + genproto/googleapis/rpc versions.
test/shared/go.sum Updates sums to match the new grpc/genproto versions.
test/longhaul/go.mod Bumps indirect grpc + genproto/googleapis/rpc versions.
test/longhaul/go.sum Updates sums to match the new grpc/genproto versions.
test/e2e/go.mod Bumps indirect grpc + genproto/googleapis/rpc versions.
test/e2e/go.sum Updates sums to match the new grpc/genproto versions.
operator/src/go.mod Bumps indirect grpc + genproto (api/rpc) versions.
operator/src/go.sum Updates sums to match the new grpc/genproto versions.
operator/cnpg-plugins/sidecar-injector/go.mod Bumps grpc and updates related indirect deps (oauth2/protobuf/genproto).
operator/cnpg-plugins/sidecar-injector/go.sum Updates sums (includes OpenTelemetry + oauth2/protobuf resolution changes).
documentdb-playground/arc-hybrid-setup-with-fleet/.fleet-env Adds env file used by Fleet/Arc scripts (currently contains sensitive + environment-specific values).
documentdb-kubectl-plugin/go.mod Bumps indirect grpc + genproto/googleapis/rpc versions.
documentdb-kubectl-plugin/go.sum Updates sums to match the new grpc/genproto versions.
Comments suppressed due to low confidence (1)

documentdb-playground/arc-hybrid-setup-with-fleet/.fleet-env:6

  • This file contains a hard-coded Kubernetes service account bearer token. Committing live credentials is a security risk and the token should be treated as compromised (rotate/revoke) and removed from the repo; keep only a placeholder and generate the token locally via the setup script.
export BEARER_TOKEN='eyJhbGciOiJSUzI1NiIsImtpZCI6InJDVDcyYWNnOTVHdHpjUV9CLU5qejhRWmlGS1RDQnBITEoxdllwS3FwY0kifQ.eyJhdWQiOlsiaHR0cHM6Ly9rdWJlcm5ldGVzLmRlZmF1bHQuc3ZjLmNsdXN0ZXIubG9jYWwiXSwiZXhwIjoxODE2NzAyNzY0LCJpYXQiOjE3ODUxNjY3NjQsImlzcyI6Imh0dHBzOi8va3ViZXJuZXRlcy5kZWZhdWx0LnN2Yy5jbHVzdGVyLmxvY2FsIiwianRpIjoiNzM5MzgxZDAtMWQ2Ni00YWY3LTlkNzctZWU0OGUxMzliZWQyIiwia3ViZXJuZXRlcy5pbyI6eyJuYW1lc3BhY2UiOiJkZWZhdWx0Iiwic2VydmljZWFjY291bnQiOnsibmFtZSI6ImFyYy1wb3J0YWwtdmlld2VyIiwidWlkIjoiOTMyZGZhMzktNjA5My00ODgzLTk1OWYtOGQ1N2I2NDRjMzk3In19LCJuYmYiOjE3ODUxNjY3NjQsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDpkZWZhdWx0OmFyYy1wb3J0YWwtdmlld2VyIn0.CTMtRVpZS-hlmwHRA4vpa2hZkebGdSCsHo3Xnuossglsb4UYGzPHBY4Da9RXEQN1V45092FgKXGSouLbyiPFs-ktICQNEc-WucN0CVmjOQaydYIFox0HtGRA5vyM8GEpU_vg4TwTehfCdXpG6SgElvd727Q0gNUK4Mpqc2g-Ms-UsoCNavz8ukrZwrbpWqMODCR1BPKq3o0pdUY9eQ24TvPfhHf9DVwRGXCcA3CH6cQJNBQ8CnZCqyCV1mjxi5rf0WM7PE1vRFZtP2FyiP3ORmaHvv7Mtp2wzdouusveU_IS-CkvfM7U0oQc9ayucaDGqxNB4yWeIZZBa8cHDgzwfw'

@documentdb-triage-tool documentdb-triage-tool Bot added bug Something isn't working dependencies Pull requests that update a dependency file ecosystem go Pull requests that update go code labels Jul 28, 2026
@documentdb-triage-tool

Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

Applied: dependencies, ecosystem, go, bug
Project fields suggested: Component dependencies · Priority P1 · Effort L · Status Needs Review
Confidence: 0.60 (mixed)

Reasoning

component from path globs (dependencies, kubectl-plugin, playground); effort from diff stats (63+57 LOC, 13 files); LLM: Vulnerability check/fix for gRPC dependency, likely a security-related dependency update flagged by govulncheck.

If a label is wrong, remove it manually and ping @patty-chow so the rules can be tuned. The bot will not re-label items that already have component labels.

Signed-off-by: Alexander Laye <[email protected]>
@hossain-rayhan
hossain-rayhan merged commit f812b22 into documentdb:main Jul 28, 2026
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dependencies Pull requests that update a dependency file ecosystem go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants