grafana/pkg/util
Marcus Efraimsson 6478d0a5ef
Plugins: Forward user header (X-Grafana-User) in backend plugin requests (#58646)
Grafana would forward the X-Grafana-User header to backend plugin request when 
dataproxy.send_user_header is enabled. In addition, X-Grafana-User will be automatically
forwarded in outgoing HTTP requests for core/builtin HTTP datasources. 
Use grafana-plugin-sdk-go v0.147.0.

Fixes #47734

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2022-12-15 15:28:25 +01:00
..
cmd Server: Switch from separate server & cli to a unified grafana binary (#58286) 2022-11-22 11:53:43 -05:00
cmputil Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
converter Chore: Update SDK to v0.145.0 with TimeSeriesMulti Constant (#59729) 2022-12-05 12:48:10 -05:00
errutil Server: Write internal server error on missing write (#57813) 2022-11-07 16:14:41 +01:00
maputil Prometheus: Fix Azure authentication support (#44407) 2022-02-03 17:06:31 +01:00
proxyutil Plugins: Forward user header (X-Grafana-User) in backend plugin requests (#58646) 2022-12-15 15:28:25 +01:00
retryer CloudWatch Logs queue and websocket support (#28176) 2020-10-28 08:36:57 +00:00
ticker Alerting: Extract ticker into shared package (#55703) 2022-09-26 12:35:33 -05:00
contextutil_test.go Chore: Add context util that allow to provide cause of cancellation (#53918) 2022-08-24 10:24:41 -04:00
contextutil.go Chore: Add context util that allow to provide cause of cancellation (#53918) 2022-08-24 10:24:41 -04:00
encoding_test.go Auth Proxy: non-ASCII headers encoding tests (#47110) 2022-05-02 13:08:20 +02:00
encoding.go Auth Proxy: encoding of non-ASCII headers (#44797) 2022-03-04 04:58:27 -05:00
encryption_test.go Fix decrypting secrets in alerting migration (#41061) 2021-10-29 14:20:07 +03:00
encryption.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
filepath_test.go CodeQL: Try to fix uncontrolled data used in path expression (#43462) 2022-01-11 17:37:58 +01:00
filepath.go Remove ioutil.ReadDir from usage (#53550) 2022-08-11 07:21:12 -04:00
ip_address_test.go Backend: fix IPv6 address parsing erroneous (#28585) 2020-11-25 07:55:22 +01:00
ip_address.go Chore: Remove Wrapf (#50128) 2022-06-06 22:30:31 +02:00
json.go pkg/util/*: Add missing function comments. 2019-01-28 22:09:40 +01:00
math.go Chore: Remove dead code (#28664) 2020-11-05 11:00:00 +01:00
md5_test.go Fix changed want md5 hash 2018-09-21 13:41:03 +02:00
md5.go pkg/util/*: Add missing function comments. 2019-01-28 22:09:40 +01:00
reverse_test.go Nested Folders: Add tests for store methods (#57662) 2022-11-03 14:21:41 +01:00
reverse.go Nested Folders: Add tests for store methods (#57662) 2022-11-03 14:21:41 +01:00
shortid_generator_test.go LibraryElements: Enables creating library elements with specific UID (#39019) 2021-09-10 11:22:13 +02:00
shortid_generator.go LibraryElements: Enables creating library elements with specific UID (#39019) 2021-09-10 11:22:13 +02:00
split_email_test.go Test: Create unit test to SplitEmails (#27985) 2020-10-02 08:42:10 +02:00
split_email.go Emails: resurrect template notification (#18686) 2019-08-26 17:19:03 +02:00
strings_test.go Util: Improve performance of strings.SplitString (#49115) 2022-05-25 14:10:22 -07:00
strings.go Storage: Add basic file upload management (#50638) 2022-07-05 10:53:41 -07:00
url_test.go Tests: Change util GoConvey tests to use testify (#26724) 2020-08-13 11:10:48 +02:00
url.go AzureMonitor: Alerting for Azure Application Insights (#19381) 2019-10-07 14:18:14 +02:00
validation_test.go Tests: Change util GoConvey tests to use testify (#26724) 2020-08-13 11:10:48 +02:00
validation.go pkg/util/*: Add missing function comments. 2019-01-28 22:09:40 +01:00