You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #48 was merged, users are required to explicitly state an allowlist of endpoints (unsafe-passthrough-paths) that any tenant can retrieve without interference of prom-label-proxy.
This means that any UI components require explicit whitelisting to work, which often have complex URIs.
Configuring prom-label-proxy to serve the Thanos Querier UI required the following docker command:
It worked 🤷♂️ but the UX was terrible. Each downstream UI component version will require a carefully constructed set of unsafe-passthrough-paths.
Personally, I have no requirements other than attempting to fix the tutorial (thanos-io/thanos#4309). However, this is a reasonable enough use-case for others to require.
Safe-defaults were mentioned in #48 (comment), but does not appear to have been implemented.
The text was updated successfully, but these errors were encountered:
I would assume that /static/* endpoints are "safe" but the rest is more problematic IMHO. IIRC we decided on exact paths to avoid users shooting themselves in the foot but maybe it's fine to allow things like --unsafe-passthrough-paths=/static/*?
it was discussed in #48 (comment) but dismissed as being insecure (at least as long the legacy UI exists since the targets and configuration pages may expose sensitive informatoin).
Since #48 was merged, users are required to explicitly state an allowlist of endpoints (
unsafe-passthrough-paths
) that any tenant can retrieve without interference ofprom-label-proxy
.This means that any UI components require explicit whitelisting to work, which often have complex URIs.
Configuring
prom-label-proxy
to serve the Thanos Querier UI required the following docker command:It worked 🤷♂️ but the UX was terrible. Each downstream UI component version will require a carefully constructed set of
unsafe-passthrough-paths
.Personally, I have no requirements other than attempting to fix the tutorial (thanos-io/thanos#4309). However, this is a reasonable enough use-case for others to require.
Safe-defaults were mentioned in #48 (comment), but does not appear to have been implemented.
The text was updated successfully, but these errors were encountered: