Repository navigation
Add spire-agent workload API rate limiting by pod UID with OS UID fal… - #6724
Conversation
…lback Signed-off-by: Kevin Lui <[email protected]>
|
Hi @terahertz5k, thanks for opening a PR for this! It's something missing from the agent that we'd definitely want improved. We were wondering if you can give some details about the particular scenario that you ran into that this PR helped you. |
| // perCallerRateLimiter maintains per-caller rate limiters using a two-generation GC pattern. | ||
| // The key is a string that may represent a pod UID or OS UID (with a prefix to avoid collisions). | ||
| type perCallerRateLimiter struct { | ||
| limit int | ||
|
|
||
| mtx sync.RWMutex | ||
|
|
||
| // previous holds all the limiters that were current at the GC. | ||
| previous map[string]*rate.Limiter | ||
|
|
||
| // current holds all the limiters that have been created or moved | ||
| // from the previous limiters since the last GC. | ||
| current map[string]*rate.Limiter | ||
|
|
||
| // lastGC is the time of the last GC. | ||
| lastGC time.Time | ||
| } |
There was a problem hiding this comment.
There's a lot in common between this structure and the perIPLimiter in the server. Is is possible to factor out some of the common code into pkg/common/ratelimit so that the agent and the server can share the code?
There was a problem hiding this comment.
Good call.
I can extract a shared PerKeyLimiter into pkg/common/ratelimit with a Limiter interface that covers both AllowN and WaitN. The two-generation GC map logic moves there, and both the agent's perCallerRateLimiter and server's perIPLimiter become thin wrappers that just handle key extraction.
Today, the agent stores *rate.Limiter directly while the server stores its own rawRateLimiter interface (so tests can inject fakes). One shared Limiter interface replaces rawRateLimiter and works for both cases: the agent calls AllowN on it, the server calls WaitN, and the server's test fakes just need a no-op AllowN stub added.
| // OS UID prefixed with "uid:". | ||
| func (m workloadRateLimitMiddleware) resolveRateLimitKey(caller peertracker.CallerInfo) string { | ||
| if m.resolver != nil { | ||
| if podUID := m.resolver.GetPodUID(caller.PID); podUID != "" { |
There was a problem hiding this comment.
This operation can be expensive and will add some RPC time even in cases where spire is not running on Kubernetes but has rate limits configured. We would need to find a way to address this where we don't do unnecessary work on nodes that don't need it.
It would be good to understand the scenario you ran into that this change helped with. We can see how can change this to handle that and also not affect non-k8s users.
There was a problem hiding this comment.
Agreed, the procfs reads on every RPC are unnecessary on non-k8s nodes.
Thinking that I can add two things:
- Check KUBERNETES_SERVICE_HOST env var at resolver construction time. If unset, return a nil resolver so there's zero overhead on non-k8s nodes.
- On k8s nodes, we could wrap the resolver with a per-PID cache (short TTL ~10s) so we only hit procfs once per PID per interval, instead of on every RPC. Not sure if this is needed or not though.
I replied separately, but we were seeing agent memory increase due to badly behaving applications hammering the socket for certain operations. This would cause k8s to kill the agent due to OOM for the entire k8s node.
|
hi @sorindumitru , We were seeing badly behaving applications hammer the socket and cause memory usage on the agent to increase high enough for k8s to kill the spire-agent pod due to OOM. We will be using this for x509 and jwt fetch. I'll have a look at your other two comments and see what I can do there. |
How were these applications misbehaving? |
We have an application that spins up multiple short-lived pods simultaneously, with processes forking within containers and creating a new connection to the agent socket on every retry rather than reusing existing ones. We worked with the team to fix their retry logic and raised agent memory limits, which stabilized things. We didn't know it was this application at first, but we were able to see on our graphs that something was making lots of jwtfetch requests at certain times of the day as well as the number of agent pod restarts. That said, we want to add this rate limiting as a safety net. It's valid for applications to have multiple identities and make fetch requests for each, but a single caller shouldn't be able to overwhelm the agent to the point of OOM. We'd rather shed excess load gracefully than let one misbehaving workload take down the agent for everyone on the node. |
…ution Extract the two-generation GC per-key rate limiter into pkg/common/ratelimit so both the agent and server share the same implementation. Add Kubernetes auto-detection to skip procfs reads on non-k8s nodes and cache pod UID lookups per PID to reduce overhead. Signed-off-by: Kevin Lui <[email protected]>
|
Thanks @terahertz5k for the answers above. One issue we have with the current approach is that it's very specific to k8s (and a bit to unix). We're wondering if applying the ratelimit per workload SPIFFE ID might be a better approach. This has the benefit of being useful in non-k8s cases but also comes with some disadvantages:
Do you think you might be able to apply the ratelimit after the attestation and see if it still works ok for the cases you ran into? |
|
Hello, I would like to work on this issue. |
|
@sorindumitru , thanks for the feedback. The issue we hit was specifically that FetchJWTSVID is unary and every call triggers a fresh attestation. Moving the rate limit to after attestation would most likely undermine the primary goal of this change, which is to protect the agent from memory exhaustion. The concurrent attestation work is what drives the OOM, I think. The pod UID resolution is the only k8s specific piece and it's only active on Linux nodes running k8s. On all other platforms, it falls back to OS UID. It's really an enhancement for cases (that are more likely in K8s) where container images may use the same OS UID. To validate this, I'll move the rate limit after attestation and run my load tests. I'll report back with the results. |
|
Based on my tests at 128MB and a 10 RPS rate limit, pre-attestation code survived 5 minutes of 4 pods with 100 forked workers each hammering FetchJWTSVID on a tight loop, but post-attestation code OOMKilled instantly. Doing more tests at 256MB but with 4x300 workers, pre-attestation code peaked at 168 MB, but post-attestation code was OOMKilled. This shows there is a large delta as load increases between pre- and post- attestation rate limiting. Granted this load is pretty extreme for a single agent. I increased memory to 512MB just to see what the actual memory peak was at 4x300 workers with 10 RPS rate limit. |
|
Sorry for the long delay here @terahertz5k, I was out for a few weeks. Would it be possible to get some heap profiling snapshots of these? I'm curious where this extra time is spent. I've done this locally using the unix workload attestor and the main memory increase seems to come from gRPC message buffers/parsing:
You can configure the agent with something like the following: This will tell the agent to periodically dump heap profiling dumps to disk, in a |
|
Or you could try the following patch, which reduces the read buffer size from 32KB to 1KB: I don't know if that's the right thing to do or if this is the right size to pick, but we do usually have smaller incoming payloads, so this may be a good improvement to have. |
|
After investigating further, I found that my refactor in 4f8c01a introduced a memory regression. This time around, I switched from unlimited RPS to a 50 RPS/pod cap this time around, since pre-attestation rejection is nearly instantaneous while post-attestation has to complete a full attestation first so unlimited RPS means the two modes see completely different request volumes and aren't really comparable. The issue is the sync.Map cache that 4f8c01a added, keyed by PID, to try and avoid repeated procfs reads. That works fine if callers are long-lived processes, but spire-agent api fetch jwt spawns a fresh subprocess per call. Every request gets a new PID and the cache never hits. The map grows without bound. The fix is just removing the cache. The rest of the refactor, extracting PerKeyLimiter into the shared package, the cleaner agent/server code, is fine and worth keeping. Numbers (120s sustained, 50 RPS/pod across 4 pods, 10 RPS rate limit, 512 MiB): No RL: 74 MiB (baseline) Pre-attestation RL with the cache removed and post-attestation RL land at nearly the same place. Happy to go either direction. |
|
After the cache removal fix for pre-attestation RL, I ran comparison tests on your 1k read buffer patch. Numbers are averaged across the 120s window rather than peak: No RL: 58 MiB without, 55 MiB with (-5%) There's a small but consistent reduction in sustained memory across all configs, most visible on post-RL at -10%. |
|
Thanks @terahertz5k. Doing the rate limit post attestation with the key being the SPIFFE ID sounds like the best way forward. We get most of the benefits and we also end up not being k8s specific. Out of curiosity, I see that the memory numbers you mentioned now are smaller. Was this a run with fewer workloads? |
|
The number of workloads was the same, but the old tests were at unlimited RPS. Pre-attestation rejection would be nearly instantaneous compared to doing full attestation. That means pre-RL ends up seeing far more total requests than the other configs, making it an unequal comparison. Capping at 50 RPS/pod keeps the request volume equal across all three configs. It also takes out some of the variance of my cpu being totally maxed out and probably thermal throttling. I'll work on the post-attestation code and commit that soon. Did you want me to include the read buffer patch? Or is that something you're working on elsewhere? |
Signed-off-by: Kevin Lui <[email protected]>
sorindumitru
left a comment
There was a problem hiding this comment.
Sorry for the late reply here @terahertz5k, I'll try to review things so that this ends up in the next release.
| if v := intVal(rl.FetchX509SVID); v < 0 { | ||
| return nil, errors.New("ratelimit.fetch_x509_svid must not be negative") | ||
| } | ||
| if v := intVal(rl.FetchJWTSVID); v < 0 { | ||
| return nil, errors.New("ratelimit.fetch_jwt_svid must not be negative") | ||
| } |
There was a problem hiding this comment.
nit: we could use the values from ac.WorkloadAPIRateLimit, to avoid checking for nil twice.
| FetchJWTSVID *int `hcl:"fetch_jwt_svid"` | ||
|
|
||
| UnusedKeyPositions map[string][]token.Pos `hcl:",unusedKeyPositions"` | ||
| } |
There was a problem hiding this comment.
We'll need to add configuration for the rate limiting bundles too.
| # ratelimit: Optional per-SPIFFE-ID rate limiting for Workload API methods. | ||
| # Each value specifies the maximum number of calls per second allowed per SPIFFE ID. | ||
| # Limits are enforced after workload attestation against each registration entry | ||
| # matched by the caller. A value of 0 (the default) disables rate limiting for that method. |
There was a problem hiding this comment.
I think we should also apply these to at least the SDSv3 API. The Delegated/BrokerAPI we can probably exclude for now, since they require authorization.
| } | ||
| ``` | ||
|
|
||
| Calls exceeding the rate limit receive a `ResourceExhausted` gRPC status code. |
There was a problem hiding this comment.
I think based on the spec we might have to use Unavailable here for now. ResourceExhausted does seem like a better fit, but we have to follow the spec.
| entries := h.c.Manager.MatchingRegistrationEntries(selectors) | ||
| entries = filterRegistrations(entries, log) | ||
|
|
||
| if err := h.rateLimitByEntries(MethodFetchJWTSVID, entries); err != nil { |
There was a problem hiding this comment.
I guess I didn't think this through when I proposed this. Feels a bit weird to do this for all entries, but not unreasonable either. The entry list is sorted by entryID so we could just ratelimit on the first entry since it should always be the same.
Another alternative might be to do the rate limiting based on the selectors. This would mean different pods get different rate limits which is maybe a bit better. What do you think about this? I think it would still end up being useful in your scenario.
There was a problem hiding this comment.
The current implementation complicates adding rate limiting for bundles and SDSv3. They don't have a spiffe id available at the rate limit point to key on.
Switching to selector-set keying is a better fit and achieves per-workload rate limiting. I'll rework it and update the PR after some testing.
…es and SDS Signed-off-by: Kevin Lui <[email protected]>
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds configurable per-caller rate limiting for SPIRE Agent Workload API + Envoy SDS methods, including telemetry and GC’d per-key buckets.
Changes:
- Introduces
pkg/common/ratelimit(Limiter,PerKeyLimiter) with two-generation GC and testable clock injection. - Wires per-selector-set rate limiting into Workload API and SDS handlers, adds integration/unit tests, and emits a new
workload_api.rate_limit_exceededmetric. - Extends agent config/CLI parsing and docs to support a new
agent.ratelimit { ... }block.
Reviewed changes
Copilot reviewed 24 out of 24 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| test/fixture/config/agent_bad_nested_ratelimit_block.conf | Fixture to validate unknown-key detection inside nested ratelimit block |
| pkg/server/api/middleware/ratelimit_test.go | Updates tests for new ratelimit abstractions and shared GC interval |
| pkg/server/api/middleware/ratelimit.go | Replaces bespoke per-IP limiter GC with shared PerKeyLimiter |
| pkg/common/telemetry/names.go | Adds RateLimitExceeded metric name |
| pkg/common/telemetry/agent/workloadapi/workload.go | Adds helper to increment rate-limit rejection counter |
| pkg/common/ratelimit/perkeylimiter_test.go | Adds unit tests for PerKeyLimiter behavior/GC/concurrency |
| pkg/common/ratelimit/perkeylimiter.go | Implements generic GC’d per-key limiter map with injectable clock |
| pkg/common/ratelimit/limiter.go | Defines Limiter interface used across middleware/endpoints |
| pkg/agent/endpoints/workload/handler_test.go | Adds regression test ensuring agent-self calls bypass rate limiting |
| pkg/agent/endpoints/workload/handler.go | Adds rate limiter hook + method constants for Workload API handlers |
| pkg/agent/endpoints/sdsv3/handler_test.go | Adds rate-limit tests for SDS StreamSecrets/FetchSecrets |
| pkg/agent/endpoints/sdsv3/handler.go | Adds rate limiter hook + method constants for SDS handlers |
| pkg/agent/endpoints/ratelimit_test.go | Adds tests for selector-set keying, limiter behavior, and metrics emission |
| pkg/agent/endpoints/ratelimit.go | Implements per-selector-set rate limiter and selector-set keying |
| pkg/agent/endpoints/endpoints_test.go | Adds full-stack integration tests for Workload API and SDS rate limiting |
| pkg/agent/endpoints/endpoints.go | Wires new rate limiter into Workload API + SDS configs |
| pkg/agent/endpoints/config.go | Adds rate-limit config struct to endpoints Config |
| pkg/agent/config.go | Exposes rate-limit config on agent Config (alias to endpoints type) |
| pkg/agent/agent.go | Passes agent rate-limit config into endpoints |
| doc/telemetry/telemetry.md | Documents new workload_api.rate_limit_exceeded metric |
| doc/spire_agent.md | Documents agent.ratelimit block and semantics |
| conf/agent/agent_full.conf | Adds commented example ratelimit config block |
| cmd/spire-agent/cli/run/run_test.go | Adds CLI config parsing tests + unknown-key warning for nested ratelimit |
| cmd/spire-agent/cli/run/run.go | Adds HCL parsing + validation + unknown-key detection for ratelimit |
Signed-off-by: Kevin Lui <[email protected]>
| wg.Add(goroutines) | ||
| for i := range goroutines { | ||
| go func(id int) { |
There was a problem hiding this comment.
nit: we can do wg.Go so we don't have to do the Add and Done.
| if err := h.rateLimit(MethodStreamSecrets, selectors); err != nil { | ||
| return err | ||
| } |
There was a problem hiding this comment.
I think this wouldn't be the case here, but it might be worth adding a check to not do the ratelimiting for the agent, similar to the workload api.
| } | ||
| runTest(t, params, func(ctx context.Context, c workloadPB.SpiffeWorkloadAPIClient) { | ||
| for i := 0; i < 3; i++ { | ||
| resp, err := c.FetchJWTSVID(ctx, &workloadPB.JWTSVIDRequest{ |
There was a problem hiding this comment.
Might be good to also test some of the other methods that we rate limit
| for i, s := range sorted { | ||
| if i > 0 { | ||
| b.WriteByte('\x01') | ||
| } | ||
| b.WriteString(s.Type) | ||
| b.WriteByte('\x00') | ||
| b.WriteString(s.Value) | ||
| } | ||
| return b.String() |
There was a problem hiding this comment.
I think some of the keys will end up being quite big. Do you think it might be worth hashing it to make sure we have smaller keys?
There was a problem hiding this comment.
Good idea. I was considering hashing it as well but didn't end up doing it. Let me look into this.
There was a problem hiding this comment.
I was originally thinking SHA256, but now I'm looking at maphash (https://pkg.go.dev/hash/maphash). It would output 8 bytes instead of 32, but has a higher collision probability of 10^-12. If there was a collision, the two workloads would share a rate limiting bucket.
Is a 10^-12 chance of collision acceptable? I want to say yes, but SHA256 should also have almost no performance impact with hardware acceleration these days. What are your thoughts on this?
There was a problem hiding this comment.
We use SHA256 in another place, so lets go with that. It's going to be potentially called more often here, but if it ends up being a bottleneck we can always change it later.
…nt from SDS, expand exemption tests, use wg.Go Signed-off-by: Kevin Lui <[email protected]>
Signed-off-by: Kevin <[email protected]>
sorindumitru
left a comment
There was a problem hiding this comment.
This is looking good, @terahertz5k. Would you mind addressing the CI failures?
…nerated test keys Signed-off-by: Kevin Lui <[email protected]>
b3f082c to
9f511af
Compare
|
@sorindumitru , can you trigger the the CI pipelines again? I don't think I'm able to do it. |
Signed-off-by: Kevin Lui <[email protected]>
|
@sorindumitru I think I fixed the lint one. The other integration test failure seems to be a docker registry timeout, so maybe we just run it again. |
sorindumitru
left a comment
There was a problem hiding this comment.
LGTM, thanks @terahertz5k !
* build(deps): bump github.com/open-policy-agent/opa from 1.16.2 to 1.17.0 (#6997) Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 1.16.2 to 1.17.0. - [Release notes](https://github.com/open-policy-agent/opa/releases) - [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md) - [Commits](https://github.com/open-policy-agent/opa/compare/v1.16.2...v1.17.0) --- updated-dependencies: - dependency-name: github.com/open-policy-agent/opa dependency-version: 1.17.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Apply PQC policy to bundle endpoint and prometheus server (#6995) Signed-off-by: Sorin Dumitru <[email protected]> * build(deps): bump the aws-sdk group with 2 updates (#6996) Bumps the aws-sdk group with 2 updates: [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) and [github.com/aws/smithy-go](https://github.com/aws/smithy-go). Updates `github.com/aws/aws-sdk-go-v2/service/s3` from 1.101.0 to 1.102.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.101.0...service/s3/v1.102.0) Updates `github.com/aws/smithy-go` from 1.25.1 to 1.26.0 - [Release notes](https://github.com/aws/smithy-go/releases) - [Changelog](https://github.com/aws/smithy-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws/smithy-go/compare/v1.25.1...v1.26.0) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/s3 dependency-version: 1.102.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk - dependency-name: github.com/aws/smithy-go dependency-version: 1.26.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: use structured logger for rebootstrap messages and fix typos (#7000) Signed-off-by: immanuwell <[email protected]> * Fix stale proto directory layout in CONTRIBUTING.md (#7011) Signed-off-by: Agustín Martínez Fayó <[email protected]> * build(deps): bump github.com/sigstore/sigstore from 1.10.6 to 1.10.7 (#7005) Bumps [github.com/sigstore/sigstore](https://github.com/sigstore/sigstore) from 1.10.6 to 1.10.7. - [Release notes](https://github.com/sigstore/sigstore/releases) - [Commits](https://github.com/sigstore/sigstore/compare/v1.10.6...v1.10.7) --- updated-dependencies: - dependency-name: github.com/sigstore/sigstore dependency-version: 1.10.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump cloud.google.com/go/security (#7004) Bumps the google-cloud-sdk group with 1 update: [cloud.google.com/go/security](https://github.com/googleapis/google-cloud-go). Updates `cloud.google.com/go/security` from 1.24.0 to 1.25.0 - [Release notes](https://github.com/googleapis/google-cloud-go/releases) - [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md) - [Commits](https://github.com/googleapis/google-cloud-go/compare/kms/v1.24.0...kms/v1.25.0) --- updated-dependencies: - dependency-name: cloud.google.com/go/security dependency-version: 1.25.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: google-cloud-sdk ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/aws/aws-sdk-go-v2/service/autoscaling (#7003) Bumps the aws-sdk group with 1 update: [github.com/aws/aws-sdk-go-v2/service/autoscaling](https://github.com/aws/aws-sdk-go-v2). Updates `github.com/aws/aws-sdk-go-v2/service/autoscaling` from 1.66.0 to 1.67.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.66.0...service/s3/v1.67.0) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/autoscaling dependency-version: 1.67.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add Copilot repository custom instructions (#7009) * Add Copilot repository custom instructions Signed-off-by: Agustín Martínez Fayó <[email protected]> * Address Copilot comments Signed-off-by: Agustín Martínez Fayó <[email protected]> * Add links to the SDK repositories Signed-off-by: Agustín Martínez Fayó <[email protected]> * Note that field names come from pkg/common/telemetry/names.go Signed-off-by: Agustín Martínez Fayó <[email protected]> --------- Signed-off-by: Agustín Martínez Fayó <[email protected]> * Add support for two more PQC curves (#6999) Go 1.26 added support for these so we can allow using them Signed-off-by: Sorin Dumitru <[email protected]> * build(deps): bump google.golang.org/api in the google-cloud-sdk group (#7014) Bumps the google-cloud-sdk group with 1 update: [google.golang.org/api](https://github.com/googleapis/google-api-go-client). Updates `google.golang.org/api` from 0.282.0 to 0.283.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.282.0...v0.283.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-version: 0.283.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: google-cloud-sdk ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/sigstore/sigstore from 1.10.7 to 1.10.8 (#7016) Bumps [github.com/sigstore/sigstore](https://github.com/sigstore/sigstore) from 1.10.7 to 1.10.8. - [Release notes](https://github.com/sigstore/sigstore/releases) - [Commits](https://github.com/sigstore/sigstore/compare/v1.10.7...v1.10.8) --- updated-dependencies: - dependency-name: github.com/sigstore/sigstore dependency-version: 1.10.8 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * agent: add `log_selectors` config item (#6981) * agent: log configured workload selectors on identity failures Signed-off-by: Carlo Teubner <[email protected]> * agent: minor refactor to reduce num params Signed-off-by: Carlo Teubner <[email protected]> * agent: log selectors as single string Addresses review comment. Signed-off-by: Carlo Teubner <[email protected]> * agent: Sort selectors before logging Signed-off-by: Carlo Teubner <[email protected]> --------- Signed-off-by: Carlo Teubner <[email protected]> * build(deps): bump github.com/shirou/gopsutil/v4 from 4.26.4 to 4.26.5 (#7015) Bumps [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) from 4.26.4 to 4.26.5. - [Release notes](https://github.com/shirou/gopsutil/releases) - [Commits](https://github.com/shirou/gopsutil/compare/v4.26.4...v4.26.5) --- updated-dependencies: - dependency-name: github.com/shirou/gopsutil/v4 dependency-version: 4.26.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump the aws-sdk group with 7 updates (#7013) Bumps the aws-sdk group with 7 updates: | Package | From | To | | --- | --- | --- | | [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) | `1.304.0` | `1.305.0` | | [github.com/aws/aws-sdk-go-v2/service/iam](https://github.com/aws/aws-sdk-go-v2) | `1.53.1` | `1.54.1` | | [github.com/aws/aws-sdk-go-v2/service/kms](https://github.com/aws/aws-sdk-go-v2) | `1.52.0` | `1.53.1` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) | `1.102.0` | `1.103.0` | | [github.com/aws/aws-sdk-go-v2/service/secretsmanager](https://github.com/aws/aws-sdk-go-v2) | `1.41.0` | `1.42.0` | | [github.com/aws/aws-sdk-go-v2/service/sts](https://github.com/aws/aws-sdk-go-v2) | `1.42.0` | `1.43.0` | | [github.com/aws/smithy-go](https://github.com/aws/smithy-go) | `1.26.0` | `1.27.0` | Updates `github.com/aws/aws-sdk-go-v2/service/ec2` from 1.304.0 to 1.305.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.304.0...service/ec2/v1.305.0) Updates `github.com/aws/aws-sdk-go-v2/service/iam` from 1.53.1 to 1.54.1 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.53.1...service/s3/v1.54.1) Updates `github.com/aws/aws-sdk-go-v2/service/kms` from 1.52.0 to 1.53.1 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.52.0...service/s3/v1.53.1) Updates `github.com/aws/aws-sdk-go-v2/service/s3` from 1.102.0 to 1.103.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.102.0...service/s3/v1.103.0) Updates `github.com/aws/aws-sdk-go-v2/service/secretsmanager` from 1.41.0 to 1.42.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.41.0...service/s3/v1.42.0) Updates `github.com/aws/aws-sdk-go-v2/service/sts` from 1.42.0 to 1.43.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.42.0...service/s3/v1.43.0) Updates `github.com/aws/smithy-go` from 1.26.0 to 1.27.0 - [Release notes](https://github.com/aws/smithy-go/releases) - [Changelog](https://github.com/aws/smithy-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws/smithy-go/compare/v1.26.0...v1.27.0) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2 dependency-version: 1.305.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk - dependency-name: github.com/aws/aws-sdk-go-v2/service/iam dependency-version: 1.54.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk - dependency-name: github.com/aws/aws-sdk-go-v2/service/kms dependency-version: 1.53.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk - dependency-name: github.com/aws/aws-sdk-go-v2/service/s3 dependency-version: 1.103.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk - dependency-name: github.com/aws/aws-sdk-go-v2/service/secretsmanager dependency-version: 1.42.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk - dependency-name: github.com/aws/aws-sdk-go-v2/service/sts dependency-version: 1.43.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk - dependency-name: github.com/aws/smithy-go dependency-version: 1.27.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#7024) Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 6.0.3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/de0fac2e4500dabe0009e67214ff5f5447ce83dd...df4cb1c069e1874edd31b4311f1884172cec0e10) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/jackc/pgx/v5 from 5.9.2 to 5.10.0 (#7026) Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.9.2 to 5.10.0. - [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v5.9.2...v5.10.0) --- updated-dependencies: - dependency-name: github.com/jackc/pgx/v5 dependency-version: 5.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Retry image builds to tolerate transient base image pull failures (#7032) Signed-off-by: Agustín Martínez Fayó <[email protected]> * build(deps): bump github.com/aws/smithy-go from 1.27.0 to 1.27.1 in the aws-sdk group (#7033) build(deps): bump github.com/aws/smithy-go in the aws-sdk group Bumps the aws-sdk group with 1 update: [github.com/aws/smithy-go](https://github.com/aws/smithy-go). Updates `github.com/aws/smithy-go` from 1.27.0 to 1.27.1 - [Release notes](https://github.com/aws/smithy-go/releases) - [Changelog](https://github.com/aws/smithy-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws/smithy-go/compare/v1.27.0...v1.27.1) --- updated-dependencies: - dependency-name: github.com/aws/smithy-go dependency-version: 1.27.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: aws-sdk ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Datastore config doc updates (#7023) * server sql doc: explain connection string Signed-off-by: Carlo Teubner <[email protected]> * server sql doc: spelling of AWS_SECRET_ACCESS_KEY Signed-off-by: Carlo Teubner <[email protected]> * server sql doc: misc cleanups Signed-off-by: Carlo Teubner <[email protected]> --------- Signed-off-by: Carlo Teubner <[email protected]> * Retry container image pulls in integration tests to reduce CI flakiness (#7031) * Retry container image pulls in integration tests to reduce CI flakiness Signed-off-by: Agustín Martínez Fayó <[email protected]> * Hardcode retry attempts and backoff in integration tests Signed-off-by: Agustín Martínez Fayó <[email protected]> --------- Signed-off-by: Agustín Martínez Fayó <[email protected]> * Upgrade go-spiffe to 2.7.0 (#7035) * Upgrade go-spiffe to 2.7.0 Signed-off-by: Sorin Dumitru <[email protected]> * Add dumy implementations for WIT-SVID API Signed-off-by: Sorin Dumitru <[email protected]> --------- Signed-off-by: Sorin Dumitru <[email protected]> * Remove the unused kind configuration from the cert-manager integration test (#7037) * Remove stale kindest/node pin from the cert-manager integration test Signed-off-by: Agustín Martínez Fayó <[email protected]> * Remove the now-unused cert-manager kind config Signed-off-by: Agustín Martínez Fayó <[email protected]> --------- Signed-off-by: Agustín Martínez Fayó <[email protected]> * Add assignee rotation with ball-in-court tracking for pull requests (#7012) * Add round-robin reviewer auto-assignment with ball-in-court tracking Signed-off-by: Agustín Martínez Fayó <[email protected]> * Address Copilot comments Signed-off-by: Agustín Martínez Fayó <[email protected]> * Address Copilot comments Signed-off-by: Agustín Martínez Fayó <[email protected]> * Exclude bot-authored PRs from reviewer rotation Signed-off-by: Agustín Martínez Fayó <[email protected]> * Pick the PR assignee at random instead of by PR number Signed-off-by: Agustín Martínez Fayó <[email protected]> --------- Signed-off-by: Agustín Martínez Fayó <[email protected]> * Fix assign-reviewer not setting an assignee on open (#7043) Scope assign-reviewer concurrency per event action Signed-off-by: Agustín Martínez Fayó <[email protected]> * build(deps): bump github.com/mattn/go-sqlite3 from 1.14.44 to 1.14.45 (#7041) Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.44 to 1.14.45. - [Release notes](https://github.com/mattn/go-sqlite3/releases) - [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.44...v1.14.45) --- updated-dependencies: - dependency-name: github.com/mattn/go-sqlite3 dependency-version: 1.14.45 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/google/go-tpm-tools from 0.4.8 to 0.4.9 (#7040) Bumps [github.com/google/go-tpm-tools](https://github.com/google/go-tpm-tools) from 0.4.8 to 0.4.9. - [Release notes](https://github.com/google/go-tpm-tools/releases) - [Commits](https://github.com/google/go-tpm-tools/compare/v0.4.8...v0.4.9) --- updated-dependencies: - dependency-name: github.com/google/go-tpm-tools dependency-version: 0.4.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.21.1 to 1.22.0 in the azure-sdk group (#7039) build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azcore Bumps the azure-sdk group with 1 update: [github.com/Azure/azure-sdk-for-go/sdk/azcore](https://github.com/Azure/azure-sdk-for-go). Updates `github.com/Azure/azure-sdk-for-go/sdk/azcore` from 1.21.1 to 1.22.0 - [Release notes](https://github.com/Azure/azure-sdk-for-go/releases) - [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.21.1...sdk/azcore/v1.22.0) --- updated-dependencies: - dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azcore dependency-version: 1.22.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: azure-sdk ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test: Add x509util certificate coverage (#7029) Signed-off-by: Keegan Witt <[email protected]> * Add SPIRE-backed Prometheus TLS identity and SPIFFE allowlist (#6812) * Add SPIRE-backed Prometheus TLS identity and SPIFFE allowlist (cherry picked from commit 2ec839e145e276b6e1079f49831a8a023f92f266) Signed-off-by: aviralgarg05 <[email protected]> * Fix markdown table formatting to pass lint Signed-off-by: Agustín Martínez Fayó <[email protected]> --------- Signed-off-by: aviralgarg05 <[email protected]> Signed-off-by: Agustín Martínez Fayó <[email protected]> Co-authored-by: Agustín Martínez Fayó <[email protected]> * test(common/idutil): Expand IDFromProto coverage (#7028) Add table-driven coverage for invalid trust domain values. Preserve the existing path validation cases and keep expectations aligned with actual behavior. Signed-off-by: Keegan Witt <[email protected]> * Correct the stale actions/upload-artifact version comment to v7.0.1 (#7053) Signed-off-by: Agustín Martínez Fayó <[email protected]> * Update the review ball-in-court on fork PRs via workflow_run (#7052) * Update the review ball-in-court on fork PRs via workflow_run Signed-off-by: Agustín Martínez Fayó <[email protected]> * Address Copilot comments Signed-off-by: Agustín Martínez Fayó <[email protected]> * Address Copilot comments Signed-off-by: Agustín Martínez Fayó <[email protected]> * Harden review-apply against forged capture artifacts Signed-off-by: Agustín Martínez Fayó <[email protected]> * Mention the review-existence and bot checks in the workflow headers Signed-off-by: Agustín Martínez Fayó <[email protected]> --------- Signed-off-by: Agustín Martínez Fayó <[email protected]> * build(deps): bump the aws-sdk group across 1 directory with 2 updates (#7059) Bumps the aws-sdk group with 2 updates in the / directory: [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) and [github.com/aws/smithy-go](https://github.com/aws/smithy-go). Updates `github.com/aws/aws-sdk-go-v2/service/ec2` from 1.305.0 to 1.306.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.305.0...service/ec2/v1.306.0) Updates `github.com/aws/smithy-go` from 1.27.1 to 1.27.2 - [Release notes](https://github.com/aws/smithy-go/releases) - [Changelog](https://github.com/aws/smithy-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws/smithy-go/compare/v1.27.1...v1.27.2) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2 dependency-version: 1.306.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk - dependency-name: github.com/aws/smithy-go dependency-version: 1.27.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: aws-sdk ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump google.golang.org/api from 0.283.0 to 0.284.0 in the google-cloud-sdk group (#7058) build(deps): bump google.golang.org/api in the google-cloud-sdk group Bumps the google-cloud-sdk group with 1 update: [google.golang.org/api](https://github.com/googleapis/google-api-go-client). Updates `google.golang.org/api` from 0.283.0 to 0.284.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.283.0...v0.284.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-version: 0.284.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: google-cloud-sdk ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump github.com/open-policy-agent/opa from 1.17.0 to 1.17.1 (#7050) Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 1.17.0 to 1.17.1. - [Release notes](https://github.com/open-policy-agent/opa/releases) - [Changelog](https://github.com/open-policy-agent/opa/blob/v1.17.1/CHANGELOG.md) - [Commits](https://github.com/open-policy-agent/opa/compare/v1.17.0...v1.17.1) --- updated-dependencies: - dependency-name: github.com/open-policy-agent/opa dependency-version: 1.17.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * agent: treat failure of all attestation plugins as overall failure & return Unavailable (#7045) * agent: handle failure of all attestation plugins Treat failure from all attestation plugins as an overall workload attestation failure instead of returning no selectors. Without any selectors, we can never match any workload registration entry. This early error return path will result in clearer error logs. For example, in FetchJWTSVID, we'll log "Workload attestation failed" instead of "No identity issued" with a misleading "registered=false" field. Also, pass any attestation error to the telemetry counter. Signed-off-by: Carlo Teubner <[email protected]> * agent: return Unavailable on attestation fail Map workload attestation failures to gRPC code Unavailable in request handlers, instead of returning raw attestor errors (which could be gRPC errors received from the plugins that may not make sense for the Workload API, or non-gRPC errors that would get mapped to gRPC code Unknown). Signed-off-by: Carlo Teubner <[email protected]> --------- Signed-off-by: Carlo Teubner <[email protected]> * fix: validate missing Workload API endpoint in spire upstreamauthority (#7008) * fix: validate missing workload API endpoint in spire upstreamauthority Signed-off-by: immanuwell <[email protected]> * fix: reject invalid platform workload API settings early Signed-off-by: immanuwell <[email protected]> * fix: address review comments on spire upstreamauthority validation Signed-off-by: immanuwell <[email protected]> --------- Signed-off-by: immanuwell <[email protected]> * build(deps): bump actions/github-script from 7.0.1 to 9.0.0 (#7047) Bumps [actions/github-script](https://github.com/actions/github-script) from 7.0.1 to 9.0.0. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/60a0d83039c74a4aee543508d2ffcb1c3799cdea...3a2844b7e9c422d3c10d287c895573f7108da1b3) --- updated-dependencies: - dependency-name: actions/github-script dependency-version: 9.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump the golang-org-x group across 1 directory with 3 updates (#7061) Bumps the golang-org-x group with 2 updates in the / directory: [golang.org/x/crypto](https://github.com/golang/crypto) and [golang.org/x/net](https://github.com/golang/net). Updates `golang.org/x/crypto` from 0.52.0 to 0.53.0 - [Commits](https://github.com/golang/crypto/compare/v0.52.0...v0.53.0) Updates `golang.org/x/net` from 0.55.0 to 0.56.0 - [Commits](https://github.com/golang/net/compare/v0.55.0...v0.56.0) Updates `golang.org/x/sys` from 0.45.0 to 0.46.0 - [Commits](https://github.com/golang/sys/compare/v0.45.0...v0.46.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.53.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: golang-org-x - dependency-name: golang.org/x/net dependency-version: 0.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: golang-org-x - dependency-name: golang.org/x/sys dependency-version: 0.46.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: golang-org-x ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Prefer determining pod and container ids from cgroup file (#7060) * Prefer determining pod and container ids from cgroup file This file is owned by the kernel and a workload is not able to influence it in any way. Signed-off-by: Sorin Dumitru <[email protected]> * Fixup previous tests Signed-off-by: Sorin Dumitru <[email protected]> --------- Signed-off-by: Sorin Dumitru <[email protected]> * build(deps): bump github.com/sigstore/cosign/v3 from 3.0.6 to 3.1.1 (#7055) Bumps [github.com/sigstore/cosign/v3](https://github.com/sigstore/cosign) from 3.0.6 to 3.1.1. - [Release notes](https://github.com/sigstore/cosign/releases) - [Changelog](https://github.com/sigstore/cosign/blob/main/CHANGELOG.md) - [Commits](https://github.com/sigstore/cosign/compare/v3.0.6...v3.1.1) --- updated-dependencies: - dependency-name: github.com/sigstore/cosign/v3 dependency-version: 3.1.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix Azure IMDS Plugin Signature Validation (#6960) * Fix Azure IMDS Plugin Signature Validation Signed-off-by: Changheng Gu <[email protected]> * Update cert and documentation Signed-off-by: Changheng Gu <[email protected]> * Use slices.Contains for domain validation Signed-off-by: Changheng Gu <[email protected]> * address comment Signed-off-by: Changheng Gu <[email protected]> * address comments Signed-off-by: Changheng Gu <[email protected]> --------- Signed-off-by: Changheng Gu <[email protected]> * Switch Dependabot to grouped weekly PRs and drop the auto-merge workflow (#7070) * Switch Dependabot to grouped weekly PRs and drop the auto-merge workflow Signed-off-by: Agustín Martínez Fayó <[email protected]> * Address Copilot comments Signed-off-by: Agustín Martínez Fayó <[email protected]> --------- Signed-off-by: Agustín Martínez Fayó <[email protected]> * build(deps): bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.306.0 to 1.307.0 in the aws-sdk group (#7067) build(deps): bump github.com/aws/aws-sdk-go-v2/service/ec2 Bumps the aws-sdk group with 1 update: [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2). Updates `github.com/aws/aws-sdk-go-v2/service/ec2` from 1.306.0 to 1.307.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.306.0...service/ec2/v1.307.0) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2 dependency-version: 1.307.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: aws-sdk ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump regclient/actions from c70ad64367908075211b10dcd2ab9fad4bfa1816 to 14f9d37db17b5dc41fefd1ffdd1af4b9e2490560 (#7063) build(deps): bump regclient/actions Bumps [regclient/actions](https://github.com/regclient/actions) from c70ad64367908075211b10dcd2ab9fad4bfa1816 to 14f9d37db17b5dc41fefd1ffdd1af4b9e2490560. - [Release notes](https://github.com/regclient/actions/releases) - [Changelog](https://github.com/regclient/actions/blob/main/RELEASE.md) - [Commits](https://github.com/regclient/actions/compare/c70ad64367908075211b10dcd2ab9fad4bfa1816...14f9d37db17b5dc41fefd1ffdd1af4b9e2490560) --- updated-dependencies: - dependency-name: regclient/actions dependency-version: 14f9d37db17b5dc41fefd1ffdd1af4b9e2490560 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump actions/github-script from 7.0.1 to 9.0.0 (#7062) Bumps [actions/github-script](https://github.com/actions/github-script) from 7.0.1 to 9.0.0. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v7.0.1...3a2844b7e9c422d3c10d287c895573f7108da1b3) --- updated-dependencies: - dependency-name: actions/github-script dependency-version: 9.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix http_challenge agent name validation regex (#7066) The agentNamePattern regex had a typo and a structural error. The character class [a-zA-z] (lowercase z) spans ASCII 0x41-0x7A, which also matches the six symbols between Z and a ([ \ ] ^ _ `), so names containing them were accepted. The shape ^[a-zA-z]+[a-zA-Z0-9-]$ required one or more letters followed by exactly one alphanumeric or dash, which rejected ordinary agent names such as host01, agent-01 and web-agent. Replace it with ^[a-zA-Z][a-zA-Z0-9-]*$ (a letter followed by letters, digits or dashes), simplify validateAgentName to use MatchString, and add test cases for the newly-accepted and newly-rejected names. Signed-off-by: kanywst <[email protected]> * Upgrade to Go 1.26.4 (#7069) Signed-off-by: Sorin Dumitru <[email protected]> * [gcp_kms] add small sleep to get public key (#6924) * [gcp_kms] add small sleep between attempts to getPublicKey Signed-off-by: daescha <[email protected]> * [gcp_kms] fix tests Signed-off-by: daescha <[email protected]> --------- Signed-off-by: daescha <[email protected]> Co-authored-by: Agustín Martínez Fayó <[email protected]> * Add spire-agent workload API rate limiting by pod UID with OS UID fal… (#6724) * Add spire-agent workload API rate limiting by pod UID with OS UID fallback Signed-off-by: Kevin Lui <[email protected]> * Refactor rate limiting into shared package and optimize pod UID resolution Extract the two-generation GC per-key rate limiter into pkg/common/ratelimit so both the agent and server share the same implementation. Add Kubernetes auto-detection to skip procfs reads on non-k8s nodes and cache pod UID lookups per PID to reduce overhead. Signed-off-by: Kevin Lui <[email protected]> * Rate limit workload API by SPIFFE ID after attestation Signed-off-by: Kevin Lui <[email protected]> * Rekey rate limiter on attested selector set, expand coverage to bundles and SDS Signed-off-by: Kevin Lui <[email protected]> * Clarify rate limiting log message covers Workload API and SDS Signed-off-by: Kevin Lui <[email protected]> * Move rate-limit config to experimental, SHA-256-hash keys, exempt agent from SDS, expand exemption tests, use wg.Go Signed-off-by: Kevin Lui <[email protected]> * Fix CI: avoid out-of-range slice index in test helper and commit regenerated test keys Signed-off-by: Kevin Lui <[email protected]> * Fix CI: align markdown tables in spire_agent.md to satisfy MD060 Signed-off-by: Kevin Lui <[email protected]> --------- Signed-off-by: Kevin Lui <[email protected]> Signed-off-by: Kevin <[email protected]> Co-authored-by: Kevin Lui <[email protected]> * Update dario.cat/merge dependency (#7083) This seems to be currently causing issues for dependabot, so manually updating it Signed-off-by: Sorin Dumitru <[email protected]> * build(deps): bump the minor-and-patch group across 1 directory with 2 updates (#7084) Bumps the minor-and-patch group with 2 updates in the / directory: [github.com/aws/aws-sdk-go-v2/service/eks](https://github.com/aws/aws-sdk-go-v2) and [k8s.io/mount-utils](https://github.com/kubernetes/mount-utils). Updates `github.com/aws/aws-sdk-go-v2/service/eks` from 1.84.0 to 1.85.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.84.0...service/s3/v1.85.0) Updates `k8s.io/mount-utils` from 0.36.1 to 0.36.2 - [Commits](https://github.com/kubernetes/mount-utils/compare/v0.36.1...v0.36.2) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/eks dependency-version: 1.85.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: k8s.io/mount-utils dependency-version: 0.36.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix data races in built-in BundlePublisher plugins on dynamic reconfiguration (#7082) Signed-off-by: Agustín Martínez Fayó <[email protected]> * Fix flaky `gcp_kms` key manager tests caused by mock clock handling and shared fixture mutation (#7081) * Fix flaky `gcp_kms` key manager tests caused by mock clock handling and shared fixture mutation Signed-off-by: Agustín Martínez Fayó <[email protected]> * Address review comments Signed-off-by: Agustín Martínez Fayó <[email protected]> --------- Signed-off-by: Agustín Martínez Fayó <[email protected]> * events: keep previous first/lastEvent information when reloading (#6994) * events: keep previous first/lastEvent information when reloading Signed-off-by: Sorin Dumitru <[email protected]> * commitReload -> swapCache Signed-off-by: Sorin Dumitru <[email protected]> * Add concurrent access test Signed-off-by: Sorin Dumitru <[email protected]> --------- Signed-off-by: Sorin Dumitru <[email protected]> * feat: Support for optional verification of client cert IPs (x509pop) (#6911) * x509pop: add optional client IP verification * Switchable with verify_client_ip feature flag * When enabled, connecting peer's IP is extracted from the gRPC context header, forwarded a X-Forwarded-Client-IP, and validated against the leaf cert IP SANs Signed-off-by: Jason Costello <[email protected]> * Adds unit test coverage for verify client IP attestation Signed-off-by: Jason Costello <[email protected]> * [From review] Perform IP SAN check after X509 is verified Signed-off-by: Jason Costello <[email protected]> * Fix unit tests to challenge, as required with Attest adjustments Signed-off-by: Jason Costello <[email protected]> * PR changes Signed-off-by: Marcos Yacob <[email protected]> * PR changes Signed-off-by: Marcos Yacob <[email protected]> * Resolve lint issue on MD Signed-off-by: Marcos Yacob <[email protected]> --------- Signed-off-by: Jason Costello <[email protected]> Signed-off-by: Marcos Yacob <[email protected]> Co-authored-by: Marcos Yacob <[email protected]> * migrate use of github.com/docker/docker dependencies to github.com/moby/moby equivalents to resolve CVEs (#7078) migrate use of github.com/docker/docker dependencies to github.com/moby/moby equivalents Signed-off-by: Daniel Schlatter <[email protected]> * refactor: use standard `fs.FS` to simplify code (#7046) Simplify filesystem interfaces using stdlib Replace our custom FileSystem interface with the standard library's fs.FS interface, and benefit from its associated helpers. The only slight downside is that we must now open "proc/[pid]/cgroups" rather than "/proc/[pid]/cgroups", due to fs.FS interface semantics, which looks a little bit odd perhaps, but it seems like an overall win to me. Also delete OSFileSystem type, which was entirely unused. Signed-off-by: Carlo Teubner <[email protected]> * Copilot instructions: tell it about new(EXPR) form (#7086) Tell Copilot about this new Go feature. Signed-off-by: Carlo Teubner <[email protected]> * Fetch updated attested nodes in bulk (#7022) * Fetch updated attested nodes in bulk Signed-off-by: nweisenauer-sap <[email protected]> * checks for positive pageSize in buildAttestedNodesCache Signed-off-by: nweisenauer-sap <[email protected]> * addresses Copilot's review comments Signed-off-by: nweisenauer-sap <[email protected]> --------- Signed-off-by: nweisenauer-sap <[email protected]> * Tolerate mountinfo lines with an empty mount source (#7044) * Tolerate mountinfo lines with an empty mount source The docker workload attestor (and k8s, which shares the code) parses /proc/<pid>/mountinfo via k8s.io/mount-utils ParseMountInfo, which splits each line with strings.Fields and requires at least 10 fields. Per proc(5) the mount source may be empty (a tmpfs mount has no source), which renders as an empty field between the filesystem type and the super options. The kernel escapes any real whitespace in a path as octal (\040), so the double space in a line like: 119 206 0:68 / /local rw,relatime - tmpfs rw,size=8192k unambiguously means an empty source. strings.Fields collapses that empty field, so the line counts as 9 fields and ParseMountInfo rejects the whole file with "wrong number of fields". The attestor then extracts no container ID and no SVID is issued. Replace the upstream call with a small SPIRE-side mountinfo parser that is position-aware around the "-" separator, so the trailing fstype/source/ super-options triple is read by position and an empty source is tolerated. Only the root and filesystem type are consumed by the extractor. This also drops the k8s.io/mount-utils dependency (and its transitive moby/sys/ mountinfo) since it was the only user. Adds a regression fixture with the empty-source tmpfs line plus unit tests for the parser. Signed-off-by: Arpit Jain <[email protected]> * Use strings.Split to preserve empty mount-source fields Switch parseMountInfoLine from the Index+Fields approach to strings.Split(line, " "), which preserves empty fields between consecutive spaces. This makes the empty-source handling more direct: the separator and all fields are located by index in a single slice. Also switch parseMountInfo to stream lines with bufio.Scanner instead of reading the whole file into memory first. Signed-off-by: Arpit Jain <[email protected]> * Use slices.Index for the mountinfo separator Addresses review: replace the manual separator loop with slices.Index, and drop the now-unused k8s.io/mount-utils dependency via go mod tidy. Signed-off-by: arpitjain099 <[email protected]> --------- Signed-off-by: Arpit Jain <[email protected]> Signed-off-by: arpitjain099 <[email protected]> * build(deps): bump the minor-and-patch group with 10 updates (#7091) Bumps the minor-and-patch group with 10 updates: | Package | From | To | | --- | --- | --- | | [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go) | `1.13.1` | `1.14.0` | | [github.com/aws/aws-sdk-go-v2/service/eks](https://github.com/aws/aws-sdk-go-v2) | `1.85.0` | `1.86.0` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) | `1.103.0` | `1.104.0` | | [github.com/spiffe/go-spiffe/v2](https://github.com/spiffe/go-spiffe) | `2.7.0` | `2.8.0` | | [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | `0.284.0` | `0.285.0` | | [google.golang.org/genproto/googleapis/rpc](https://github.com/googleapis/go-genproto) | `0.0.0-20260526163538-3dc84a4a5aaa` | `0.0.0-20260610212136-7ab31c22f7ad` | | [k8s.io/api](https://github.com/kubernetes/api) | `0.36.1` | `0.36.2` | | [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | `0.36.1` | `0.36.2` | | [k8s.io/client-go](https://github.com/kubernetes/client-go) | `0.36.1` | `0.36.2` | | [k8s.io/kube-aggregator](https://github.com/kubernetes/kube-aggregator) | `0.36.1` | `0.36.2` | Updates `github.com/Azure/azure-sdk-for-go/sdk/azidentity` from 1.13.1 to 1.14.0 - [Release notes](https://github.com/Azure/azure-sdk-for-go/releases) - [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azidentity/v1.13.1...sdk/azcore/v1.14.0) Updates `github.com/aws/aws-sdk-go-v2/service/eks` from 1.85.0 to 1.86.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.85.0...service/s3/v1.86.0) Updates `github.com/aws/aws-sdk-go-v2/service/s3` from 1.103.0 to 1.104.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.103.0...service/s3/v1.104.0) Updates `github.com/spiffe/go-spiffe/v2` from 2.7.0 to 2.8.0 - [Release notes](https://github.com/spiffe/go-spiffe/releases) - [Changelog](https://github.com/spiffe/go-spiffe/blob/main/CHANGELOG.md) - [Commits](https://github.com/spiffe/go-spiffe/compare/v2.7.0...v2.8.0) Updates `google.golang.org/api` from 0.284.0 to 0.285.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.284.0...v0.285.0) Updates `google.golang.org/genproto/googleapis/rpc` from 0.0.0-20260526163538-3dc84a4a5aaa to 0.0.0-20260610212136-7ab31c22f7ad - [Commits](https://github.com/googleapis/go-genproto/commits) Updates `k8s.io/api` from 0.36.1 to 0.36.2 - [Commits](https://github.com/kubernetes/api/compare/v0.36.1...v0.36.2) Updates `k8s.io/apimachinery` from 0.36.1 to 0.36.2 - [Commits](https://github.com/kubernetes/apimachinery/compare/v0.36.1...v0.36.2) Updates `k8s.io/client-go` from 0.36.1 to 0.36.2 - [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/kubernetes/client-go/compare/v0.36.1...v0.36.2) Updates `k8s.io/kube-aggregator` from 0.36.1 to 0.36.2 - [Commits](https://github.com/kubernetes/kube-aggregator/compare/v0.36.1...v0.36.2) --- updated-dependencies: - dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity dependency-version: 1.14.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: github.com/aws/aws-sdk-go-v2/service/eks dependency-version: 1.86.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: github.com/aws/aws-sdk-go-v2/service/s3 dependency-version: 1.104.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: github.com/spiffe/go-spiffe/v2 dependency-version: 2.8.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: google.golang.org/api dependency-version: 0.285.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: google.golang.org/genproto/googleapis/rpc dependency-version: 0.0.0-20260610212136-7ab31c22f7ad dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: k8s.io/api dependency-version: 0.36.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: k8s.io/apimachinery dependency-version: 0.36.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: k8s.io/client-go dependency-version: 0.36.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: k8s.io/kube-aggregator dependency-version: 0.36.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump regclient/actions from 14f9d37db17b5dc41fefd1ffdd1af4b9e2490560 to 4b4db1dcc7dad75ad67a788a380f75a20cc8a040 (#7090) build(deps): bump regclient/actions Bumps [regclient/actions](https://github.com/regclient/actions) from 14f9d37db17b5dc41fefd1ffdd1af4b9e2490560 to 4b4db1dcc7dad75ad67a788a380f75a20cc8a040. - [Release notes](https://github.com/regclient/actions/releases) - [Changelog](https://github.com/regclient/actions/blob/main/RELEASE.md) - [Commits](https://github.com/regclient/actions/compare/14f9d37db17b5dc41fefd1ffdd1af4b9e2490560...4b4db1dcc7dad75ad67a788a380f75a20cc8a040) --- updated-dependencies: - dependency-name: regclient/actions dependency-version: 4b4db1dcc7dad75ad67a788a380f75a20cc8a040 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump actions/checkout from 6.0.3 to 7.0.0 (#7089) Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/df4cb1c069e1874edd31b4311f1884172cec0e10...9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump msys2/setup-msys2 from 2.31.1 to 2.32.0 in the minor-and-patch group (#7088) build(deps): bump msys2/setup-msys2 in the minor-and-patch group Bumps the minor-and-patch group with 1 update: [msys2/setup-msys2](https://github.com/msys2/setup-msys2). Updates `msys2/setup-msys2` from 2.31.1 to 2.32.0 - [Release notes](https://github.com/msys2/setup-msys2/releases) - [Changelog](https://github.com/msys2/setup-msys2/blob/main/CHANGELOG.md) - [Commits](https://github.com/msys2/setup-msys2/compare/e9898307ac31d1a803454791be09ab9973336e1c...66cd2cce69caa17b53920067426061ca1de3a884) --- updated-dependencies: - dependency-name: msys2/setup-msys2 dependency-version: 2.32.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: correct TTL logging in delegated identity X.509 SVID subscriber (#7071) fix: correct TTL logging in delegated identity subscriber when admin/downstream identities are present Signed-off-by: immanuwell <[email protected]> * Document the ball-in-court review process in the pull request template (#7095) Signed-off-by: Agustín Martínez Fayó <[email protected]> * spire-agent: implement logger service (#7017) * spire-agent: implement logger service Signed-off-by: Sorin Dumitru <[email protected]> * Copilot review comments Signed-off-by: Sorin Dumitru <[email protected]> * review comments Signed-off-by: Sorin Dumitru <[email protected]> * review comments Signed-off-by: Sorin Dumitru <[email protected]> * Remove auditing there's no auditing support in the agent Signed-off-by: Sorin Dumitru <[email protected]> * Use agent rpccontext Signed-off-by: Sorin Dumitru <[email protected]> * Move status helpers to common/api Signed-off-by: Sorin Dumitru <[email protected]> * Use status helpers from common/api Signed-off-by: Sorin Dumitru <[email protected]> * Make sure logger metrics are emitted Signed-off-by: Sorin Dumitru <[email protected]> * fix linter errors Signed-off-by: Sorin Dumitru <[email protected]> * Review comments Signed-off-by: Sorin Dumitru <[email protected]> * Add RPC metric name test Signed-off-by: Sorin Dumitru <[email protected]> --------- Signed-off-by: Sorin Dumitru <[email protected]> * fix: cascade-delete registered_entries on attested node deletion (#6946) * fix: cascade-delete registered_entries on attested node deletion Previously, deleteAttestedNodeAndSelectors deleted AttestedNode and NodeSelector rows but left registered_entries with parent_id matching the deleted node's SPIFFE ID untouched. In particular, the alias row that SPIRE auto-creates in createJoinTokenRegistrationEntry (when CreateJoinToken is called with AgentId) would survive the node it was minted for, accumulating as dead rows that still flow through the server's entry cache and the events-based cache. This extends deleteAttestedNodeAndSelectors to cascade: find entries whose parent_id equals the deleted node's SPIFFE ID, delete each via the existing deleteRegistrationEntrySupport helper, emit a RegistrationEntryEvent per deletion so event-cache consumers see them, and log each cascaded delete at Info with the usual SPIFFEID/ParentID/RegistrationID telemetry fields (matching the pruneRegistrationEntries pattern). The cascade fires for both DeleteAttestedNode (admin delete) and PruneAttestedExpiredNodes (periodic prune) since both paths reach this helper. Callers pass their existing logger (ds.log for DeleteAttestedNode, the prune logger for PruneAttestedExpiredNodes). Mirrors the shape of #3873 which added the node_resolver_map_entries cascade at the same function. Fixes #6944 Signed-off-by: angabini <[email protected]> * doc: update spire_server.md Signed-off-by: angabini <[email protected]> * doc: cleanup spire_server.md Signed-off-by: angabini <[email protected]> * fix(sqlstore): narrow cascade to join-token-attested nodes Per review feedback on #6946: cascading every entry parented on a deleted attested node would also wipe legitimately user-registered workload entries that happen to be parented directly on a non-join- token agent SVID (e.g. spiffe://td/spire/agent/aws_iid/...). That is a supported registration pattern, not an orphan. Restrict the cascade in deleteAttestedNodeAndSelectors to nodes whose attested DataType is "join_token". The auto-alias that createJoinTokenRegistrationEntry writes is the only entry SPIRE itself creates with parent_id = node SVID, so this still cleans up the unbounded-growth case reported in #6944 without changing behavior for any other attestor. A broader explicit cascade can be added later behind a CLI flag, as suggested in the issue. Add TestDeleteAttestedNodeNonJoinTokenDoesNotCascade asserting an aws_iid-attested node's child entry survives node deletion and no RegistrationEntryEvent is emitted. Existing cascade tests already use join_token nodes and continue to pass. Update doc/spire_server.md to reflect the narrowed scope. Refs #6944 Signed-off-by: angabini <[email protected]> * fix(sqlstore): match alias selector shape on cascade Per Copilot review feedback on #6946 (B): even within join-token-attested nodes, child entries can be user-managed (e.g. an operator-created entry parented on the agent SVID for a workload that happens to share that parent). Cascading on parent_id alone would still over-delete those. Tighten deleteAttestedNodeAndSelectors to match the exact shape that createJoinTokenRegistrationEntry writes: - exactly one selector - selector.Type == "spiffe_id" - selector.Value == entry.ParentID Anything else stays put. Tests: - Add TestDeleteAttestedNodeJoinTokenPreservesNonAliasChildEntries (replaces the federation multi-test): asserts an alias-shaped child cascades while a unix-selector workload child parented on the same join_token-attested node survives, and exactly one entry event is emitted. - Sharpen TestDeleteAttestedNodeNonJoinTokenDoesNotCascade: switch the child entry to alias-shaped selectors so the test isolates the DataType filter from the selector-shape filter. - Extract lastRegistrationEntryEventID() helper used by all four cascade tests (Copilot review comment 4). Refs #6944 Signed-off-by: angabini <[email protected]> * doc(spire_server): re-align config table to widest row The cascade note added in 61a42b9ad widened the prune_attested_nodes_expired_for description to 581 chars while every other row in the table sat at 480, tripping markdownlint MD060/table-column-style. Pad the description column on every other row in the table to match, keeping pipe positions identical at columns 1, 38, 516, 581 across the entire config table. Pure padding change; no rendered content moved. Separator row padded with dashes (preserving continuous alignment marker), content rows with spaces. Signed-off-by: angabini <[email protected]> * test(agent): cover join-token alias cascade end-to-end, cross-ref shape Incorporates review feedback on #6946. - Cross-reference the auto-alias entry shape between its writer (createJoinTokenRegistrationEntry) and the cascade matcher (deleteAttestedNodeAndSelectors) so the two can't drift silently. - Add TestCascadeDeleteJoinTokenAliasEntry exercising the real CreateJoinToken -> DeleteAgent path; fakedatastore is backed by the sqlstore, so a shape change that misses the matcher fails the test. - Document that manual `agent evict`/`agent purge` also cascade and that the cleanup is forward-only (pre-existing orphans are not swept). - Revert the unrelated config-table realignment to keep the doc diff minimal. Signed-off-by: angabini <[email protected]> --------- Signed-off-by: angabini <[email protected]> * Add tag-based key discovery support in the `aws_kms` KeyManager plugin (#7006) * Add tag-based key discovery support in the `aws_kms` KeyManager plugin Signed-off-by: Agustín Martínez Fayó <[email protected]> * Address Copilot comments Signed-off-by: Agustín Martínez Fayó <[email protected]> * Address review comments Signed-off-by: Agustín Martínez Fayó <[email protected]> --------- Signed-off-by: Agustín Martínez Fayó <[email protected]> * Fix data race in spiretest log assertion helper (#7096) Signed-off-by: Agustín Martínez Fayó <[email protected]> * spire-agent: try to enable SE_DEBUG_PRIVILEGE at startup on windows (#7073) * spire-agent: try to enable SE_DEBUG_PRIVILEGE at startup on windows The [OpenProcessToken](https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-openprocesstoken) API mentions that SE_DEBUG_NAME/SeDebugPrivilege (why two different names, windows???) privilege is required for opening the process token for a process running as a more privileged account (it does work from admin to admin users without this). Attempt to enable this and log an warning if that fails. Signed-off-by: Sorin Dumitru <[email protected]> * Workaround broken AdjustTokenPrivileges Signed-off-by: Sorin Dumitru <[email protected]> * Move function to global variable Signed-off-by: Sorin Dumitru <[email protected]> --------- Signed-off-by: Sorin Dumitru <[email protected]> * Fix azure_imds node attestation for standalone VMs (#6807) Signed-off-by: Ravishen Jain <[email protected]> * Fix flaky fetch-jwt-svids integration test by waiting for the restarted server (#7108) * Fix flaky fetch-jwt-svids integration test by waiting for the restarted server Signed-off-by: Agustín Martínez Fayó <[email protected]> * Address review comments Signed-off-by: Agustín Martínez Fayó <[email protected]> --------- Signed-off-by: Agustín Martínez Fayó <[email protected]> * Add azure_imds network interface unmarshal regression test (#7106) Signed-off-by: Agustín Martínez Fayó <[email protected]> * Add force-push guidance to the PR template and reference it from CONTRIBUTING.md (#7105) Signed-off-by: Agustín Martínez Fayó <[email protected]> * build(deps): bump the minor-and-patch group with 10 updates (#7109) Bumps the minor-and-patch group with 10 updates: | Package | From | To | | --- | --- | --- | | [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) | `1.307.0` | `1.308.0` | | [github.com/aws/aws-sdk-go-v2/service/eks](https://github.com/aws/aws-sdk-go-v2) | `1.86.0` | `1.87.0` | | [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry) | `0.21.6` | `0.21.7` | | [github.com/hashicorp/go-metrics](https://github.com/hashicorp/go-metrics) | `0.5.4` | `0.6.0` | | [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) | `1.14.45` | `1.14.47` | | [github.com/moby/moby/api](https://github.com/moby/moby) | `1.54.2` | `1.55.0` | | [github.com/moby/moby/client](https://github.com/moby/moby) | `0.4.1` | `0.5.0` | | [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) | `4.26.5` | `4.26.6` | | [github.com/spiffe/go-spiffe/v2](https://github.com/spiffe/go-spiffe) | `2.8.0` | `2.8.1` | | [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | `0.285.0` | `0.286.0` | Updates `github.com/aws/aws-sdk-go-v2/service/ec2` from 1.307.0 to 1.308.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.307.0...service/ec2/v1.308.0) Updates `github.com/aws/aws-sdk-go-v2/service/eks` from 1.86.0 to 1.87.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.86.0...service/s3/v1.87.0) Updates `github.com/google/go-containerregistry` from 0.21.6 to 0.21.7 - [Release notes](https://github.com/google/go-containerregistry/releases) - [Commits](https://github.com/google/go-containerregistry/compare/v0.21.6...v0.21.7) Updates `github.com/hashicorp/go-metrics` from 0.5.4 to 0.6.0 - [Release notes](https://github.com/hashicorp/go-metrics/releases) - [Commits](https://github.com/hashicorp/go-metrics/compare/v0.5.4...v0.6.0) Updates `github.com/mattn/go-sqlite3` from 1.14.45 to 1.14.47 - [Release notes](https://github.com/mattn/go-sqlite3/releases) - [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.45...v1.14.47) Updates `github.com/moby/moby/api` from 1.54.2 to 1.55.0 - [Release notes](https://github.com/moby/moby/releases) - [Commits](https://github.com/moby/moby/compare/api/v1.54.2...api/v1.55.0) Updates `github.com/moby/moby/client` from 0.4.1 to 0.5.0 - [Release notes](https://github.com/moby/moby/releases) - [Changelog](https://github.com/moby/moby/blob/v0.5.0/CHANGELOG.md) - [Commits](https://github.com/moby/moby/compare/v0.4.1...v0.5.0) Updates `github.com/shirou/gopsutil/v4` from 4.26.5 to 4.26.6 - [Release notes](https://github.com/shirou/gopsutil/releases) - [Commits](https://github.com/shirou/gopsutil/compare/v4.26.5...v4.26.6) Updates `github.com/spiffe/go-spiffe/v2` from 2.8.0 to 2.8.1 - [Release notes](https://github.com/spiffe/go-spiffe/releases) - [Changelog](https://github.com/spiffe/go-spiffe/blob/main/CHANGELOG.md) - [Commits](https://github.com/spiffe/go-spiffe/compare/v2.8.0...v2.8.1) Updates `google.golang.org/api` from 0.285.0 to 0.286.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.285.0...v0.286.0) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2 dependency-version: 1.308.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: github.com/aws/aws-sdk-go-v2/service/eks dependency-version: 1.87.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: github.com/google/go-containerregistry dependency-version: 0.21.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: github.com/hashicorp/go-metrics dependency-version: 0.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: github.com/mattn/go-sqlite3 dependency-version: 1.14.47 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: github.com/moby/moby/api dependency-version: 1.55.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: github.com/moby/moby/client dependency-version: 0.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: github.com/shirou/gopsutil/v4 dependency-version: 4.26.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: github.com/spiffe/go-spiffe/v2 dependency-version: 2.8.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: google.golang.org/api dependency-version: 0.286.0 dependency-type: direct:production update-type: versio…

Pull Request check list
Affected functionality
SPIRE agent Workload API and Envoy SDS — adds optional per-caller rate limiting for Workload API methods and SDS resource methods.
Description of change
Adds an optional
ratelimitconfiguration block to the SPIRE agent that enforces per-caller token-bucket rate limits on Workload API methods (FetchX509SVID,FetchJWTSVID,FetchX509Bundles,FetchJWTBundles) and Envoy SDS methods (StreamSecrets,FetchSecrets). When a caller exhausts its burst, the agent returnsUnavailableimmediately. All limits default to 0 (disabled), so existing deployments are unaffected.Key design decisions:
<unattested>bucket.pkg/common/ratelimitpackage — The token-bucket map + two-generation GC was factored out of the server'sperIPLimiterinto a reusablePerKeyLimiter, and the server middleware was rewritten on top of it. O(active-callers) memory, no background goroutine, automatic eviction after ~2 minutes of inactivity.AllowN) — Unlike the server-sideperIPLimiterwhich uses blockingWaitN, the Workload API fails fast withUnavailableto avoid silently queuing goroutines during reconnection storms.workload_api.rate_limit_exceededcounter with amethodlabel. Per-rejection logging was intentionally omitted to avoidlogrus.Entryallocation pressure under heavy load.Configuration example:
Testing:
Which issue this PR fixes
fixes #2010