Datasets:
Download statements/cloudnative-istio-57781.md from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/statements/cloudnative-istio-57781.md
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/statements/cloudnative-istio-57781.md
-
curl -L -o cloudnative-istio-57781.md https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/statements/cloudnative-istio-57781.md
Extend Istio RequestAuthentication JWT handling with the Gateway API's space-delimited claims field across Istio and istio/api.
RequestAuthentication JWT rules need to accept an optional list of claim names whose string values are split on whitespace before authorization matching. The API repository must expose JWTRule.spaceDelimitedClaims and its generated GetSpaceDelimitedClaims accessor, and Istio must consume it while retaining the existing default handling for scope and permission claims.
Reproduction: define a RequestAuthentication resource with a custom claim such as custom_roles: "admin user" and configure an authorization rule that matches admin. The API schema and generated client types must represent the field, and Istio must translate the rule so individual values are available to authorization matching.
Expected behavior: custom space-delimited claims are accepted and split for JWT authorization, default scope and permission behavior remains backward compatible, invalid API objects continue to be rejected, and unrelated JWT/authentication behavior does not regress. Inspect both repositories and ensure their relevant tests pass.