Repository: chainguard-dev/apko
Pull request #1429 (2024-12-11 14:56:10)

build(deps): bump google.golang.org/api from 0.209.0 to 0.211.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.209.0 to 0.211.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/googleapis/google-api-go-client/releases">google.golang.org/api's releases</a>.</em></p>
<blockquote>
<h2>v0.211.0</h2>
<h2><a href="https://github.com/googleapis/google-api-go-client/compare/v0.210.0...v0.211.0">0.211.0</a> (2024-12-10)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2897">#2897</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/a7a9149289b538150b5ec600a19899ce3b19d3b7">a7a9149</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2899">#2899</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/587a11df23378396e3e174fd7021afcb4c59db0e">587a11d</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2902">#2902</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/d4cb90f490006155566779810a37100c56a57780">d4cb90f</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2903">#2903</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/6528fb2369704b3448dc2144cff0624e40072ca8">6528fb2</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2905">#2905</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/f37ece71d34f784c1b8bd65ec8c17cee4f306deb">f37ece7</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2906">#2906</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/91960b196e5b2dedfc21045964b07944d284a629">91960b1</a>)</li>
<li><strong>transport:</strong> Remove deprecated EXPERIMENTAL OpenCensus trace context propagation (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2901">#2901</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/2b3363e799feff4ed8d191bc69cd3afdb70f1f99">2b3363e</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Remove dep hacks for old cycle deps (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2908">#2908</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/f4c1ac651f453b5970402d2f1d3d918e93d05c44">f4c1ac6</a>), refs <a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2559">#2559</a></li>
</ul>
<h2>v0.210.0</h2>
<h2><a href="https://github.com/googleapis/google-api-go-client/compare/v0.209.0...v0.210.0">0.210.0</a> (2024-12-04)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2886">#2886</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/f446504cac24bfcb8d3266c14de2a44ed7968063">f446504</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2888">#2888</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/a990614ba53fcc403665d6003643db6bc4d03ce8">a990614</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2892">#2892</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/22e0d11172087cd646df9b9235dc9bdb8aba3044">22e0d11</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2893">#2893</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/2657039424359bca2583b00041e2c6228e4a939f">2657039</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2895">#2895</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/46fab242a8144b8887696df9a285a651315d6dd8">46fab24</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2896">#2896</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/efded92b5ef075836d41c82ddbcc71b73c6fa2e9">efded92</a>)</li>
<li>Async refresh dry run in parallel with sync refresh (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2849">#2849</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/acd258182eaf544256fba965e079b4198ad41efc">acd2581</a>)</li>
<li><strong>option/internaloption:</strong> Add AuthCreds helper (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2891">#2891</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/6ee8349e13c65c5a4f2f3caf9056d7c37e195fcf">6ee8349</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>gensupport:</strong> Context cancel error check (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2890">#2890</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/f57c82deba73faa59e85dcb1aa136de2d1a40664">f57c82d</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md">google.golang.org/api's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/googleapis/google-api-go-client/compare/v0.210.0...v0.211.0">0.211.0</a> (2024-12-10)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2897">#2897</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/a7a9149289b538150b5ec600a19899ce3b19d3b7">a7a9149</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2899">#2899</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/587a11df23378396e3e174fd7021afcb4c59db0e">587a11d</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2902">#2902</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/d4cb90f490006155566779810a37100c56a57780">d4cb90f</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2903">#2903</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/6528fb2369704b3448dc2144cff0624e40072ca8">6528fb2</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2905">#2905</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/f37ece71d34f784c1b8bd65ec8c17cee4f306deb">f37ece7</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2906">#2906</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/91960b196e5b2dedfc21045964b07944d284a629">91960b1</a>)</li>
<li><strong>transport:</strong> Remove deprecated EXPERIMENTAL OpenCensus trace context propagation (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2901">#2901</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/2b3363e799feff4ed8d191bc69cd3afdb70f1f99">2b3363e</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Remove dep hacks for old cycle deps (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2908">#2908</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/f4c1ac651f453b5970402d2f1d3d918e93d05c44">f4c1ac6</a>), refs <a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2559">#2559</a></li>
</ul>
<h2><a href="https://github.com/googleapis/google-api-go-client/compare/v0.209.0...v0.210.0">0.210.0</a> (2024-12-04)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2886">#2886</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/f446504cac24bfcb8d3266c14de2a44ed7968063">f446504</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2888">#2888</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/a990614ba53fcc403665d6003643db6bc4d03ce8">a990614</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2892">#2892</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/22e0d11172087cd646df9b9235dc9bdb8aba3044">22e0d11</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2893">#2893</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/2657039424359bca2583b00041e2c6228e4a939f">2657039</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2895">#2895</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/46fab242a8144b8887696df9a285a651315d6dd8">46fab24</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2896">#2896</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/efded92b5ef075836d41c82ddbcc71b73c6fa2e9">efded92</a>)</li>
<li>Async refresh dry run in parallel with sync refresh (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2849">#2849</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/acd258182eaf544256fba965e079b4198ad41efc">acd2581</a>)</li>
<li><strong>option/internaloption:</strong> Add AuthCreds helper (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2891">#2891</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/6ee8349e13c65c5a4f2f3caf9056d7c37e195fcf">6ee8349</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>gensupport:</strong> Context cancel error check (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2890">#2890</a>) (<a href="https://github.com/googleapis/google-api-go-client/commit/f57c82deba73faa59e85dcb1aa136de2d1a40664">f57c82d</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/googleapis/google-api-go-client/commit/71a90821956464e97f84bc7cf8aac0ea14f10adf"><code>71a9082</code></a> chore(main): release 0.211.0 (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2898">#2898</a>)</li>
<li><a href="https://github.com/googleapis/google-api-go-client/commit/f4c1ac651f453b5970402d2f1d3d918e93d05c44"><code>f4c1ac6</code></a> fix: remove dep hacks for old cycle deps (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2908">#2908</a>)</li>
<li><a href="https://github.com/googleapis/google-api-go-client/commit/73ee8335a64ec37710e41c1ae67a7b3695726996"><code>73ee833</code></a> chore: bump auth dep (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2907">#2907</a>)</li>
<li><a href="https://github.com/googleapis/google-api-go-client/commit/91960b196e5b2dedfc21045964b07944d284a629"><code>91960b1</code></a> feat(all): auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2906">#2906</a>)</li>
<li><a href="https://github.com/googleapis/google-api-go-client/commit/40ca97ec2003da68305e0647ae5794f910e1e856"><code>40ca97e</code></a> chore(all): update all (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2904">#2904</a>)</li>
<li><a href="https://github.com/googleapis/google-api-go-client/commit/f37ece71d34f784c1b8bd65ec8c17cee4f306deb"><code>f37ece7</code></a> feat(all): auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2905">#2905</a>)</li>
<li><a href="https://github.com/googleapis/google-api-go-client/commit/6528fb2369704b3448dc2144cff0624e40072ca8"><code>6528fb2</code></a> feat(all): auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2903">#2903</a>)</li>
<li><a href="https://github.com/googleapis/google-api-go-client/commit/d4cb90f490006155566779810a37100c56a57780"><code>d4cb90f</code></a> feat(all): auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2902">#2902</a>)</li>
<li><a href="https://github.com/googleapis/google-api-go-client/commit/2b3363e799feff4ed8d191bc69cd3afdb70f1f99"><code>2b3363e</code></a> feat(transport): remove deprecated EXPERIMENTAL OpenCensus trace context prop...</li>
<li><a href="https://github.com/googleapis/google-api-go-client/commit/587a11df23378396e3e174fd7021afcb4c59db0e"><code>587a11d</code></a> feat(all): auto-regenerate discovery clients (<a href="https://redirect.github.com/googleapis/google-api-go-client/issues/2899">#2899</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/googleapis/google-api-go-client/compare/v0.209.0...v0.211.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/api&package-manager=go_modules&previous-version=0.209.0&new-version=0.211.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>


Patch:
diff --git a/go.mod b/go.mod
index d993545..734cc3f 100644
--- a/go.mod
+++ b/go.mod
@@ -31,7 +31,7 @@ require (
 	golang.org/x/sync v0.10.0
 	golang.org/x/sys v0.28.0
 	golang.org/x/time v0.8.0
-	google.golang.org/api v0.209.0
+	google.golang.org/api v0.211.0
 	gopkg.in/ini.v1 v1.67.0
 	gopkg.in/yaml.v3 v3.0.1
 	k8s.io/apimachinery v0.31.3
@@ -40,8 +40,8 @@ require (
 
 require (
 	chainguard.dev/go-grpc-kit v0.17.6 // indirect
-	cloud.google.com/go/auth v0.10.2 // indirect
-	cloud.google.com/go/auth/oauth2adapt v0.2.5 // indirect
+	cloud.google.com/go/auth v0.12.1 // indirect
+	cloud.google.com/go/auth/oauth2adapt v0.2.6 // indirect
 	cloud.google.com/go/compute/metadata v0.5.2 // indirect
 	dario.cat/mergo v1.0.1 // indirect
 	filippo.io/edwards25519 v1.1.0 // indirect
@@ -145,21 +145,20 @@ require (
 	github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
 	github.com/xanzy/ssh-agent v0.3.3 // indirect
 	go.mongodb.org/mongo-driver v1.14.0 // indirect
-	go.opencensus.io v0.24.0 // indirect
 	go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0 // indirect
 	go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 // indirect
 	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0 // indirect
 	go.opentelemetry.io/otel/metric v1.32.0 // indirect
 	go.uber.org/multierr v1.11.0 // indirect
 	go.uber.org/zap v1.27.0 // indirect
-	golang.org/x/crypto v0.29.0 // indirect
+	golang.org/x/crypto v0.30.0 // indirect
 	golang.org/x/mod v0.21.0 // indirect
-	golang.org/x/net v0.31.0 // indirect
+	golang.org/x/net v0.32.0 // indirect
 	golang.org/x/oauth2 v0.24.0 // indirect
-	golang.org/x/term v0.26.0 // indirect
-	golang.org/x/text v0.20.0 // indirect
-	google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect
-	google.golang.org/genproto/googleapis/rpc v0.0.0-20241113202542-65e8d215514f // indirect
+	golang.org/x/term v0.27.0 // indirect
+	golang.org/x/text v0.21.0 // indirect
+	google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697 // indirect
+	google.golang.org/genproto/googleapis/rpc v0.0.0-20241206012308-a4fef0638583 // indirect
 	google.golang.org/grpc v1.67.1 // indirect
 	google.golang.org/protobuf v1.35.2 // indirect
 	gopkg.in/warnings.v0 v0.1.2 // indirect
diff --git a/go.sum b/go.sum
index 2423b48..5fdbc68 100644
--- a/go.sum
+++ b/go.sum
@@ -3,10 +3,10 @@ chainguard.dev/go-grpc-kit v0.17.6/go.mod h1:ZNaXn2KEO++2u2WveHs65krYiHmAEGjYLeE
 chainguard.dev/sdk v0.1.28 h1:xLQv0JxiGhqVKOL059DmTReTjrKFhUsP5U1W6cgr+jQ=
 chainguard.dev/sdk v0.1.28/go.mod h1:9EvGI9GY5UPDbZ5AhGbMO8865ixNu36afQYCZ5M95NM=
 cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
-cloud.google.com/go/auth v0.10.2 h1:oKF7rgBfSHdp/kuhXtqU/tNDr0mZqhYbEh+6SiqzkKo=
-cloud.google.com/go/auth v0.10.2/go.mod h1:xxA5AqpDrvS+Gkmo9RqrGGRh6WSNKKOXhY3zNOr38tI=
-cloud.google.com/go/auth/oauth2adapt v0.2.5 h1:2p29+dePqsCHPP1bqDJcKj4qxRyYCcbzKpFyKGt3MTk=
-cloud.google.com/go/auth/oauth2adapt v0.2.5/go.mod h1:AlmsELtlEBnaNTL7jCj8VQFLy6mbZv0s4Q7NGBeQ5E8=
+cloud.google.com/go/auth v0.12.1 h1:n2Bj25BUMM0nvE9D2XLTiImanwZhO3DkfWSYS/SAJP4=
+cloud.google.com/go/auth v0.12.1/go.mod h1:BFMu+TNpF3DmvfBO9ClqTR/SiqVIm7LukKF9mbendF4=
+cloud.google.com/go/auth/oauth2adapt v0.2.6 h1:V6a6XDu2lTwPZWOawrAa9HUK+DB2zfJyTuciBG5hFkU=
+cloud.google.com/go/auth/oauth2adapt v0.2.6/go.mod h1:AlmsELtlEBnaNTL7jCj8VQFLy6mbZv0s4Q7NGBeQ5E8=
 cloud.google.com/go/compute/metadata v0.5.2 h1:UxK4uu/Tn+I3p2dYWTfiX4wva7aYlKixAHn3fyqngqo=
 cloud.google.com/go/compute/metadata v0.5.2/go.mod h1:C66sj2AluDcIqakBq/M8lw8/ybHgOZqin2obFxa/E5k=
 dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s=
@@ -152,28 +152,16 @@ github.com/go-test/deep v1.1.1/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncV
 github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
 github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
-github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
 github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=
 github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
 github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
 github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
 github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
 github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
-github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
-github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
-github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
-github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
-github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
-github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
-github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
 github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
 github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
 github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
-github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
-github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
 github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
 github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
 github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
 github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
@@ -186,7 +174,6 @@ github.com/google/s2a-go v0.1.8 h1:zZDs9gcbt9ZPLV0ndSyQk6Kacx2g/X+SKYovpnz3SMM=
 github.com/google/s2a-go v0.1.8/go.mod h1:6iNWHTpQ+nfNRN5E00MSdfDwVesa8hhS32PhPO8deJA=
 github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4=
 github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ=
-github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
 github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
 github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
 github.com/googleapis/enterprise-certificate-proxy v0.3.4 h1:XYIDZApgAnrN1c855gTgghdIA6Stxb52D5RnLI1SLyw=
@@ -341,15 +328,10 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
 github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
 github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
 github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
-github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
-github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
 github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
 github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
 github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
 github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
-github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
-github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
-github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
 github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
 github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
 github.com/theupdateframework/go-tuf v0.7.0 h1:CqbQFrWo1ae3/I0UCblSbczevCCbS31Qvs5LdxRWqRI=
@@ -375,8 +357,6 @@ go.lsp.dev/uri v0.3.0 h1:KcZJmh6nFIBeJzTugn5JTU6OOyG0lDOo3R9KwTxTYbo=
 go.lsp.dev/uri v0.3.0/go.mod h1:P5sbO1IQR+qySTWOCnhnK7phBx+W3zbLqSMDJNTw88I=
 go.mongodb.org/mongo-driver v1.14.0 h1:P98w8egYRjYe3XDjxhYJagTokP/H6HzlsnojRgZRd80=
 go.mongodb.org/mongo-driver v1.14.0/go.mod h1:Vzb0Mk/pa7e6cWw85R4F/endUC3u0U9jGcNU603k65c=
-go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
-go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0 h1:yMkBS9yViCc7U7yeLzJPM2XizlfdVvBRSmsQDWu6qc0=
 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0/go.mod h1:n8MR6/liuGB5EmTETUBeU5ZgqMOlqKRxUaqPQBOANZ8=
 go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 h1:ZIg3ZT/aQ7AfKqdwp7ECpOK6vHqquXXuyTjIO8ZdmPs=
@@ -415,8 +395,8 @@ golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0
 golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
 golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
 golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
-golang.org/x/crypto v0.29.0 h1:L5SG1JTTXupVV3n6sUqMTeWbjAyfPwoda2DLX8J8FrQ=
-golang.org/x/crypto v0.29.0/go.mod h1:+F4F4N5hv6v38hfeYwTdx20oUvLLc+QfrE9Ax9HtgRg=
+golang.org/x/crypto v0.30.0 h1:RwoQn3GkWiMkzlX562cLB7OxWvjH1L8xutO2WoJcRoY=
+golang.org/x/crypto v0.30.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk=
 golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
 golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 h1:e66Fs6Z+fZTbFBAxKfP3PALWBtpfqks2bwGcexMxgtk=
 golang.org/x/exp v0.0.0-20240909161429-701f63a606c0/go.mod h1:2TbTHSBQa924w8M6Xs1QcRcFwyucIwBGpK1p2f1YFFY=
@@ -439,7 +419,6 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
 golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
 golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
 golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
-golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
 golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
 golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
 golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
@@ -447,8 +426,8 @@ golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
 golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
 golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
 golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
-golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo=
-golang.org/x/net v0.31.0/go.mod h1:P4fl1q7dY2hnZFxEk4pPSkDHF+QqjitcnDjUQyMM+pM=
+golang.org/x/net v0.32.0 h1:ZqPmj8Kzc+Y6e0+skZsuACbx+wzMgo5MQsJh9Qd6aYI=
+golang.org/x/net v0.32.0/go.mod h1:CwU0IoeOlnQQWJ6ioyFrfRuomB8GKF6KbYXZVyeXNfs=
 golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
 golang.org/x/oauth2 v0.24.0 h1:KTBBxWqUa0ykRPLtV69rRto9TLXcqYkeswu48x/gvNE=
 golang.org/x/oauth2 v0.24.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
@@ -490,8 +469,8 @@ golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
 golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
 golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
 golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
-golang.org/x/term v0.26.0 h1:WEQa6V3Gja/BhNxg540hBip/kkaYtRg3cxg4oXSw4AU=
-golang.org/x/term v0.26.0/go.mod h1:Si5m1o57C5nBNQo5z1iq+XDijt21BDBDp2bK0QI8e3E=
+golang.org/x/term v0.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q=
+golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM=
 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
 golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
@@ -501,8 +480,8 @@ golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
 golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
 golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
 golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
-golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug=
-golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4=
+golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo=
+golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
 golang.org/x/time v0.8.0 h1:9i3RxcPv3PZnitoVGMPDKZSq1xW1gK1Xy3ArNOGZfEg=
 golang.org/x/time v0.8.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
 golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
@@ -523,36 +502,25 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
 golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/api v0.209.0 h1:Ja2OXNlyRlWCWu8o+GgI4yUn/wz9h/5ZfFbKz+dQX+w=
-google.golang.org/api v0.209.0/go.mod h1:I53S168Yr/PNDNMi5yPnDc0/LGRZO6o7PoEbl/HY3CM=
+google.golang.org/api v0.211.0 h1:IUpLjq09jxBSV1lACO33CGY3jsRcbctfGzhj+ZSE/Bg=
+google.golang.org/api v0.211.0/go.mod h1:XOloB4MXFH4UTlQSGuNUxw0UT74qdENK8d6JNsXKLi0=
 google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
 google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
 google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
 google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
 google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
-google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 h1:M0KvPgPmDZHPlbRbaNU1APr28TvwvvdUPlSv7PUvy8g=
-google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:dguCy7UOdZhTvLzDyt15+rOrawrpM4q7DD9dQ1P11P4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241113202542-65e8d215514f h1:C1QccEa9kUwvMgEUORqQD9S17QesQijxjZ84sO82mfo=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241113202542-65e8d215514f/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
+google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697 h1:pgr/4QbFyktUv9CtQ/Fq4gzEE6/Xs7iCXbktaGzLHbQ=
+google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697/go.mod h1:+D9ySVjN8nY8YCVjc5O7PZDIdZporIDY3KaGfJunh88=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241206012308-a4fef0638583 h1:IfdSdTcLFy4lqUQrQJLkLt1PB+AsqVz6lwkWPzWEz10=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241206012308-a4fef0638583/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU=
 google.golang.org/grpc v1.18.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
 google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
 google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
 google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
 google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
 google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
-google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
 google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=
 google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA=
-google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
-google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
-google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
-google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
-google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
-google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
-google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
-google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
-google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
 google.golang.org/protobuf v1.35.2 h1:8Ar7bF+apOIoThw1EdZl0p1oWvMqTHmpA2fRTyZO8io=
 google.golang.org/protobuf v1.35.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/pkg/build/lock.go b/pkg/build/lock.go
index 2499373..5619bde 100644
--- a/pkg/build/lock.go
+++ b/pkg/build/lock.go
@@ -17,6 +17,7 @@ package build
 import (
 	"context"
 	"fmt"
+	"maps"
 	"reflect"
 	"regexp"
 	"sort"
@@ -27,13 +28,19 @@ import (
 	"chainguard.dev/apko/pkg/build/types"
 )
 
-func LockImageConfiguration(ctx context.Context, ic types.ImageConfiguration, opts ...Option) (*types.ImageConfiguration, map[string][]string, error) {
+// LockImageConfiguration returns a map of locked image configurations for each architecture,
+// plus an entry for the "index" pseudo-architecture that represents the intersection of packages
+// across all the real architecture configs. It also returns a map of missing packages for each
+// architecture that could not be locked. Using the "index" architecture is equivalent to what
+// this used to return prior to supporting per-arch locked configs.
+func LockImageConfiguration(ctx context.Context, ic types.ImageConfiguration, opts ...Option) (map[string]*types.ImageConfiguration, map[string][]string, error) {
 	mc, err := NewMultiArch(ctx, ic.Archs, append(opts, WithImageConfiguration(ic))...)
 	if err != nil {
 		return nil, nil, err
 	}
 
 	archs := make([]resolved, 0, len(ic.Archs))
+	ics := make(map[string]*types.ImageConfiguration, len(ic.Archs)+1)
 
 	// Determine the exact versions of our transitive packages and lock them
 	// down in the "resolved" configuration, so that this build may be
@@ -72,14 +79,30 @@ func LockImageConfiguration(ctx context.Context, ic types.ImageConfiguration, op
 		archs = append(archs, r)
 	}
 
-	l, missing, err := unify(ic.Contents.Packages, archs)
+	pls, missing, err := unify(ic.Contents.Packages, archs)
 	if err != nil {
 		return nil, missing, err
 	}
 
-	// Set the locked package list.
-	ic.Contents.Packages = l
-	return &ic, missing, nil
+	// Set the locked package lists.
+	for arch, pl := range pls {
+		// Create a defensive copy of "ic".
+		copied := types.ImageConfiguration{}
+		if err := ic.MergeInto(&copied); err != nil {
+			return nil, nil, err
+		}
+
+		copied.Contents.Packages = pl
+
+		if arch != "index" {
+			// Overwrite single-arch configs with their specific arch.
+			copied.Archs = []types.Architecture{types.ParseArchitecture(arch)}
+		}
+
+		ics[arch] = &copied
+	}
+
+	return ics, missing, nil
 }
 
 type resolved struct {
@@ -89,14 +112,22 @@ type resolved struct {
 	provided map[string]sets.Set[string]
 }
 
-func unify(originals []string, inputs []resolved) ([]string, map[string][]string, error) {
+// unify returns (locked packages (per arch), missing packages (per arch), error)
+func unify(originals []string, inputs []resolved) (map[string][]string, map[string][]string, error) {
 	if len(originals) == 0 {
-		return nil, nil, nil
+		// If there are no original packages, then we can't really do anything.
+		// This used to return nil but multi-arch unification assumes we always
+		// have an "index" entry, even if it's empty, so we return this now.
+		// Mostly this is to satisfy some tests that have no package inputs.
+		return map[string][]string{"index": {}}, nil, nil
 	}
 	originalPackages := resolved{
 		packages: make(sets.Set[string], len(originals)),
 		versions: make(map[string]string, len(originals)),
 	}
+
+	byArch := map[string][]string{}
+
 	for _, orig := range originals {
 		name := orig
 		// The function we want from go-apk is private, but these are all the
@@ -114,7 +145,7 @@ func unify(originals []string, inputs []resolved) ([]string, map[string][]string
 	// architectures.
 	acc := resolved{
 		packages: inputs[0].packages.Clone(),
-		versions: inputs[0].versions,
+		versions: maps.Clone(inputs[0].versions),
 		provided: inputs[0].provided,
 	}
 	for _, next := range inputs[1:] {
@@ -207,6 +238,18 @@ func unify(originals []string, inputs []resolved) ([]string, map[string][]string
 		pl = append(pl, fmt.Sprintf("%s=%s", pkg, acc.versions[pkg]))
 	}
 
+	// "index" is a sentinel value for the intersectino of all architectures.
+	// This is a reference to the OCI image index we'll be producing with it.
+	byArch["index"] = pl
+
+	for _, input := range inputs {
+		pl := make([]string, 0, len(input.packages))
+		for _, pkg := range sets.List(input.packages) {
+			pl = append(pl, fmt.Sprintf("%s=%s", pkg, input.versions[pkg]))
+		}
+		byArch[input.arch] = pl
+	}
+
 	// If a particular architecture is missing additional packages from the
 	// locked set that it produced, than warn about those as well.
 	missingByArch := make(map[string][]string, len(inputs))
@@ -217,10 +260,10 @@ func unify(originals []string, inputs []resolved) ([]string, map[string][]string
 		}
 	}
 	if len(missingByArch) > 0 {
-		return pl, missingByArch, nil
+		return byArch, missingByArch, nil
 	}
 
-	return pl, nil, nil
+	return byArch, nil, nil
 }
 
 // Copied from go-apk's version.go


Test patch:
diff --git a/pkg/build/lock_test.go b/pkg/build/lock_test.go
index 5608948..b7092b8 100644
--- a/pkg/build/lock_test.go
+++ b/pkg/build/lock_test.go
@@ -27,15 +27,17 @@ func TestUnify(t *testing.T) {
 		name        string
 		originals   []string
 		inputs      []resolved
-		want        []string
+		want        map[string][]string
 		wantMissing map[string][]string
 		wantDiag    error
 	}{{
 		name: "empty",
+		want: map[string][]string{"index": {}},
 	}, {
 		name:      "simple single arch",
 		originals: []string{"foo", "bar", "baz"},
 		inputs: []resolved{{
+			arch:     "amd64",
 			packages: sets.New("foo", "bar", "baz"),
 			versions: map[string]string{
 				"foo": "1.2.3",
@@ -43,15 +45,23 @@ func TestUnify(t *testing.T) {
 				"baz": "0.0.1",
 			},
 		}},
-		want: []string{
-			"bar=2.4.6",
-			"baz=0.0.1",
-			"foo=1.2.3",
+		want: map[string][]string{
+			"amd64": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"foo=1.2.3",
+			},
+			"index": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"foo=1.2.3",
+			},
 		},
 	}, {
 		name:      "locked versions",
 		originals: []string{"foo=1.2.3", "bar=2.4.6", "baz=0.0.1"},
 		inputs: []resolved{{
+			arch:     "amd64",
 			packages: sets.New("foo", "bar", "baz"),
 			versions: map[string]string{
 				"foo": "1.2.3",
@@ -59,15 +69,23 @@ func TestUnify(t *testing.T) {
 				"baz": "0.0.1",
 			},
 		}},
-		want: []string{
-			"bar=2.4.6",
-			"baz=0.0.1",
-			"foo=1.2.3",
+		want: map[string][]string{
+			"amd64": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"foo=1.2.3",
+			},
+			"index": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"foo=1.2.3",
+			},
 		},
 	}, {
 		name:      "transitive dependency",
 		originals: []string{"foo", "bar", "baz"},
 		inputs: []resolved{{
+			arch:     "amd64",
 			packages: sets.New("foo", "bar", "baz", "bonus"),
 			versions: map[string]string{
 				"foo":   "1.2.3",
@@ -76,11 +94,19 @@ func TestUnify(t *testing.T) {
 				"bonus": "5.4.3",
 			},
 		}},
-		want: []string{
-			"bar=2.4.6",
-			"baz=0.0.1",
-			"bonus=5.4.3",
-			"foo=1.2.3",
+		want: map[string][]string{
+			"amd64": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"bonus=5.4.3",
+				"foo=1.2.3",
+			},
+			"index": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"bonus=5.4.3",
+				"foo=1.2.3",
+			},
 		},
 	}, {
 		name:      "multiple matching architectures",
@@ -112,11 +138,25 @@ func TestUnify(t *testing.T) {
 				"bar": sets.New("def", "ogg"),
 			},
 		}},
-		want: []string{
-			"bar=2.4.6",
-			"baz=0.0.1",
-			"bonus=5.4.3",
-			"foo=1.2.3",
+		want: map[string][]string{
+			"amd64": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"bonus=5.4.3",
+				"foo=1.2.3",
+			},
+			"arm64": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"bonus=5.4.3",
+				"foo=1.2.3",
+			},
+			"index": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"bonus=5.4.3",
+				"foo=1.2.3",
+			},
 		},
 	}, {
 		name:      "mismatched transitive dependency",
@@ -140,10 +180,24 @@ func TestUnify(t *testing.T) {
 				"bonus": "5.4.3-r1",
 			},
 		}},
-		want: []string{
-			"bar=2.4.6",
-			"baz=0.0.1",
-			"foo=1.2.3",
+		want: map[string][]string{
+			"amd64": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"bonus=5.4.3-r0",
+				"foo=1.2.3",
+			},
+			"arm64": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"bonus=5.4.3-r1",
+				"foo=1.2.3",
+			},
+			"index": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"foo=1.2.3",
+			},
 		},
 		wantMissing: map[string][]string{
 			"amd64": {"bonus"},
@@ -175,10 +229,22 @@ func TestUnify(t *testing.T) {
 				"bonus": sets.New("bar"),
 			},
 		}},
-		want: []string{
-			"baz=0.0.1",
-			"bonus=5.4.3",
-			"foo=1.2.3",
+		want: map[string][]string{
+			"amd64": {
+				"baz=0.0.1",
+				"bonus=5.4.3",
+				"foo=1.2.3",
+			},
+			"arm64": {
+				"baz=0.0.1",
+				"bonus=5.4.3",
+				"foo=1.2.3",
+			},
+			"index": {
+				"baz=0.0.1",
+				"bonus=5.4.3",
+				"foo=1.2.3",
+			},
 		},
 	}, {
 		name:      "mismatched direct dependency",
@@ -202,7 +268,7 @@ func TestUnify(t *testing.T) {
 				"bonus": "5.4.3",
 			},
 		}},
-		wantDiag: errors.New("unable to lock packages to a consistent version: map[bar:[ (amd64) 2.4.6-r1 (arm64)]]"),
+		wantDiag: errors.New("unable to lock packages to a consistent version: map[bar:[2.4.6-r0 (amd64) 2.4.6-r1 (arm64)]]"),
 	}, {
 		name:      "mismatched direct dependency (with constraint)",
 		originals: []string{"foo", "bar>2.4.6", "baz"},
@@ -231,7 +297,7 @@ func TestUnify(t *testing.T) {
 		// 	"bonus=5.4.3",
 		// 	"foo=1.2.3",
 		// },
-		wantDiag: errors.New("unable to lock packages to a consistent version: map[bar:[ (amd64) 2.4.6-r1 (arm64)]]"),
+		wantDiag: errors.New("unable to lock packages to a consistent version: map[bar:[2.4.6-r0 (amd64) 2.4.6-r1 (arm64)]]"),
 	}, {
 		name:      "single-architecture resolved dependency",
 		originals: []string{"foo", "bar", "baz"},
@@ -254,10 +320,24 @@ func TestUnify(t *testing.T) {
 				"arm-energy-efficient-as-f-arithmetic": "9.8.7",
 			},
 		}},
-		want: []string{
-			"bar=2.4.6",
-			"baz=0.0.1",
-			"foo=1.2.3",
+		want: map[string][]string{
+			"amd64": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"foo=1.2.3",
+				"intel-fast-as-f-math=5.4.3",
+			},
+			"arm64": {
+				"arm-energy-efficient-as-f-arithmetic=9.8.7",
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"foo=1.2.3",
+			},
+			"index": {
+				"bar=2.4.6",
+				"baz=0.0.1",
+				"foo=1.2.3",
+			},
 		},
 		wantMissing: map[string][]string{
 			"amd64": {"intel-fast-as-f-math"},