mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
a66c4591d7
Added a new option `ui_config.metrics_proxy.path_allowlist`. This defaults to `["/api/v1/query", "/api/v1/query_range"]` when the metrics provider is set to `prometheus`. Requests that do not use one of the allow-listed paths (via exact match) get a 403 Forbidden response instead.