The GitHub Actions job "Flink Kubernetes Operator CI" on 
flink-kubernetes-operator.git/flink-40709-jaruri-allowed-uri-prefixes has 
failed.
Run started by GitHub user spuru9 (triggered by spuru9).

Head commit for run:
b3fad35d040ec842084f98b8573349c2099eb5d1 / Purushottam Sinha 
<[email protected]>
[FLINK-40709] Add allowlist to exempt trusted hosts from jarURI restricted-host 
check

kubernetes.operator.user.artifacts.disallow-restricted-hosts (enabled by
default) rejects any FlinkSessionJob jarURI whose host resolves to a
private address, which also blocks legitimate internal artifact stores
(an in-cluster Service, an on-prem Artifactory on a private address).
The only workaround was disabling the check entirely, reopening SSRF
exposure to everything -- including cloud metadata endpoints -- just to
allow one trusted host.

Add kubernetes.operator.user.artifacts.allowed-uri-prefixes so operators
can exempt specific trusted URI prefixes from the restricted-host check
instead. Prefixes are matched on parsed URI components rather than as
raw strings: scheme, host and effective port must be equal and the path
must equal the prefix path or lie under it on a '/' boundary. A jarURI
with user info or '.'/'..' path segments is never exempted, and blank or
malformed prefixes are ignored. The scheme allowlist is still enforced.

Also correct the list option descriptions: Flink splits list options on
';', not ','.

Generated-by: Claude Code (Opus 5.5)

Report URL: 
https://github.com/apache/flink-kubernetes-operator/actions/runs/41169778176

With regards,
GitHub Actions via GitBox

Reply via email to