consul/agent/config
R.B. Boyer d6e7bf40f8 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 21:50:28 +00:00
..
agent_limits.go config: validate system limits against limits.http_max_conns_per_client (#7434) 2020-04-02 09:22:17 +02:00
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 21:50:28 +00:00
builder_oss.go token: OSS support for enterprise tokens 2020-08-31 15:10:15 -04:00
builder_oss_test.go Update enterprise configurations to be in OSS 2020-05-04 10:21:05 -04:00
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 21:50:28 +00:00
config_oss.go agent/config: add auditing config to OSS and add to enterpriseConfigMap exclusions 2020-05-11 13:27:35 -07:00
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 config: rename Flags to BuilderOpts 2020-06-16 12:51:19 -04:00
flagset.go
limits.go Add unconvert linter 2020-05-12 13:47:25 -04:00
limits_windows.go config: validate system limits against limits.http_max_conns_per_client (#7434) 2020-04-02 09:22:17 +02:00
merge.go Agent Auto Configuration: Configuration Syntax Updates (#8003) 2020-06-16 15:03:22 -04:00
merge_test.go Agent Auto Configuration: Configuration Syntax Updates (#8003) 2020-06-16 15:03:22 -04:00
runtime.go agent: introduce path allow list for requests going through the metrics proxy (#9059) 2020-10-30 21:50:28 +00:00
runtime_oss.go Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00
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 21:50:28 +00:00
segment_oss.go Update to use a consulent build tag instead of just ent (#5759) 2019-05-01 11:11:27 -04:00
segment_oss_test.go testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00