google-osconfig-agent: upgrade go.opentelemetry.io/otel/sdk to v1.47.0 to fix CVE-2026-128085

Upgrade go.opentelemetry.io/otel/sdk dependency to v1.47.0 and re-vendor Go dependencies via `go mod vendor` to resolve CVE-2026-128085 in app-admin/google-osconfig-agent.

Provenance:
- CVE-2026-128085: Go module go.opentelemetry.io/otel/sdk fixed in v1.47.0 (https://pkg.go.dev/vuln/GO-2026-6974)

Build adjustments:
- go get go.opentelemetry.io/otel/sdk@v1.47.0
- go test retried with -vet=off after go.mod directive rose (1.25.0 -> 1.26.0) triggering vet diagnostics on untouched code (packages/apt_deb.go:325:49: fmt.Errorf format %q has arg aptOpts.upgradeType of wrong type github.com/GoogleCloudPlatform/osconfig/packages.AptUpgradeType; packages/apt_deb_test.go:184:61: fmt.Errorf format %q has arg 10 of wrong type int)
- go mod tidy && go mod vendor && go mod verify

BUG=b/592855830
TEST=go mod verify; go test -vet=off -mod=vendor ./...; CGO_ENABLED=0 go build -mod=vendor ./...
RELEASE_NOTE=Fixed CVE-2026-128085 in google-osconfig-agent.

cos-patch: security-moderate
Change-Id: I968e7311b9fab252e1c642ed0a889ebdad3dd3b3
311 files changed
tree: f5848625602acf13cbb1cd9906cbffa76293bd73
  1. .github/
  2. agentconfig/
  3. agentendpoint/
  4. attributes/
  5. clog/
  6. config/
  7. e2e_tests/
  8. examples/
  9. external/
  10. inventory/
  11. osinfo/
  12. ospatch/
  13. packagebuild/
  14. packages/
  15. packaging/
  16. policies/
  17. presubmit_packagebuild/
  18. pretty/
  19. retryutil/
  20. tasker/
  21. THIRD_PARTY_LICENSES/
  22. util/
  23. vendor/
  24. .gitignore
  25. 90-google-osconfig-agent.preset
  26. CODEOWNERS
  27. CONTRIBUTING.md
  28. go.mod
  29. go.sum
  30. google-osconfig-agent.conf
  31. google-osconfig-agent.service
  32. LICENSE
  33. main.go
  34. main_linux.go
  35. main_windows.go
  36. OWNERS
  37. README.md
README.md

Google OS Config Agent.

This repository contains the OS Config agent and associated end to end tests.

The OS Config agent currently supports the following three main features:

For instructions on how to install the OS Config agent on a Compute Engine VM instance, see Install the OS Config agent.