open-consul/agent/config
R.B. Boyer c8c87ec317
agent: introduce path allow list for requests going through the metrics proxy (#9059)
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.
2020-10-30 16:49:54 -05:00
..
agent_limits.go
agent_limits_test.go config: Make Source an interface 2020-08-10 12:46:28 -04:00
builder.go agent: introduce path allow list for requests going through the metrics proxy (#9059) 2020-10-30 16:49:54 -05:00
builder_oss.go token: OSS support for enterprise tokens 2020-08-31 15:10:15 -04:00
builder_oss_test.go
builder_test.go config: move NodeName validation to config validation 2020-08-17 17:25:02 -04:00
config.go agent: introduce path allow list for requests going through the metrics proxy (#9059) 2020-10-30 16:49:54 -05:00
config_oss.go
default.go remove consul.api.http from filtered metric prefixes 2020-10-02 14:16:02 -07:00
default_oss.go auto-config: Avoid the marshal/unmarshal cycle in auto-config 2020-08-10 20:07:52 -04:00
doc.go
flags.go Add config changes for UI metrics 2020-09-30 17:59:16 +01:00
flags_test.go
flagset.go
limits.go
limits_windows.go
merge.go
merge_test.go
runtime.go agent: introduce path allow list for requests going through the metrics proxy (#9059) 2020-10-30 16:49:54 -05:00
runtime_oss.go
runtime_oss_test.go Remove oss/ent divergence of runtime_test.go (#8903) 2020-10-09 10:45:11 -04:00
runtime_test.go agent: introduce path allow list for requests going through the metrics proxy (#9059) 2020-10-30 16:49:54 -05:00
segment_oss.go
segment_oss_test.go testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00