Commit Graph

93 Commits (0ca32f0c61473ab4ea25d1c991eeef7befc62a3d)

Author SHA1 Message Date
Marcus Efraimsson 4bc582570e
Instrumentation: Proxy status code correction and various improvements (#47473) 3 years ago
Marcus Efraimsson 6a776c78d4
Datasource: Fixes storing of secureJSONData when creating/updating datasource (#45290) 3 years ago
Dimitris Sotirakis 605d056136
Security: Sync security changes on main (#45083) 3 years ago
idafurjes dbb2d3af73
Chore: Fix attribute value (#44368) 3 years ago
idafurjes 30aa24a183
Chore: Implement OpenTelemtry in Grafana (#42674) 3 years ago
Alexander Zobnin becfd776c3
OAuth: Forward id token to the data source (#42422) 4 years ago
Tania B 5652bde447
Encryption: Use secrets service (#40251) 4 years ago
Will Browne b80fbe03f0
Plugins: Refactor Plugin Management (#40477) 4 years ago
idafurjes e822c8a24d
CloudMonitoring: Migrate to use backend plugin SDK contracts (#38650) 4 years ago
Joan López de la Franca Beltran 722c414fef
Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 4 years ago
Serge Zaitsev c3ab2fdeb7
Macaron: remove custom Request type (#37874) 4 years ago
Marcus Efraimsson a6b2e1865c
Datasource: Improve default timeout settings for HTTP client provider (#36621) 4 years ago
idafurjes 60ac54d969
Chore: Refactor OAuth/social package to service (#35403) 4 years ago
Marcus Efraimsson 348e76fc8e
Datasource: Shared HTTP client provider for core backend data sources and any data source using the data source proxy (#33439) 4 years ago
Sergey Kostrukov 81f6c806e1
Azure token provider with support for Managed Identities (#33807) 4 years ago
Sofia Papagiannaki fcd674ec58
Fix deleting prom rules endpoints via ds_proxy (#33491) 4 years ago
Owen Diehl dadccdda06
Allows posting to prom rules endpoints via ds_proxy (#32946) 4 years ago
Zoltán Bedi 7a2ab93e7a
Prometheus: Allow exemplars endpoint in data source proxy (#32802) 4 years ago
Marcus Efraimsson c0edf88f9f
Data proxy: Fix encoded characters in URL path should be proxied encoded (#30597) 4 years ago
Ivana Huckova dce67db6ba
Prometheus: Use configured HTTP method for /series and /labels endpoints (#31401) 4 years ago
Carl Bergquist 15a6508d4a
trace user login and datasource name instead of id (#29183) 5 years ago
Arve Knudsen e503188b6f
Data source proxy: Convert 401 from data source to 400 (#28962) 5 years ago
Arve Knudsen 3d3a7cbba8
Chore: Fix staticcheck issues (#28860) 5 years ago
Bill Oley b3a868169b
OAuth: Support Forward OAuth Identity for backend data source plugins (#27055) 5 years ago
Bill Oley 19caa100dc
OAuth: Fix token refresh failure when custom SSL settings are configured for OAuth provider (#27523) 5 years ago
Sean Lafferty 900eb8070e
Proxy: Fix updating refresh token in OAuth pass-thru (#26885) 5 years ago
Arve Knudsen d4e4cb4c71
Chore: Enable Go linter gocritic (#26224) 5 years ago
Arve Knudsen d352c213b3
API: Recognize MSSQL data source URLs (#25629) 5 years ago
Robbert Gurdeep Singh 034abaa73a
Security: Use Header.Set and Header.Del for X-Grafana-User header (#25495) 5 years ago
Arve Knudsen 164242f5fd
Data sources: Don't fail if URL doesn't specify protocol (#24497) 5 years ago
Daniel Lee 52154b465b
dsproxy: adds support for url params for plugin routes (#23503) 5 years ago
Arve Knudsen 7d88018531
DataSourceProxy: Handle URL parsing error (#23731) 5 years ago
John McBride b017e437d8
Fix typo in oauth error (#23270) 5 years ago
Carl Bergquist 3fdd2648b1
Chore: Avoid aliasing importing models in api package (#22492) 5 years ago
Marcus Efraimsson e6cec8dbdc
Backend plugins: Prepare and clean request headers before resource calls (#22321) 5 years ago
Carl Bergquist ff9556229a
Data proxy: Log proxy errors using Grafana logger (#22174) 5 years ago
Anthony Woods f56f54b1a3 Auth: Rotate auth tokens at the end of requests (#21347) 6 years ago
Marcus Efraimsson dfa2f3d2fb
Chore: Log actual error when oauth pass thru fails (#20419) 6 years ago
Weeco 8cd93f0b88 Datasource: Add custom headers on alerting queries (#19508) 6 years ago
Arve Knudsen 0a2d5e16dd
pkg/api: Check errors (#19657) 6 years ago
Maxim Ivanov 151fe240fc OAuth: Fix for wrong user token updated on OAuth refresh in DS proxy (#17541) 6 years ago
zhulongcheng 2fff8f77dc move log package to /infra (#17023) 6 years ago
Marcus Efraimsson e210725d3d
DataProxy: Restore Set-Cookie header after proxy request (#16838) 6 years ago
Andrej Ocenas 66f6e16916
Security: Store datasource passwords encrypted in secureJsonData (#16175) 6 years ago
Sean Lafferty b696492891 Rename dispatched commands to make them easy to grok 6 years ago
Andrej Ocenas 697a87b7b2 Add check so that header is not sent for anonymous users 6 years ago
Andrej Ocenas bbdc1c0e64 Add custom header with grafana user and a config switch for it 6 years ago
Sean Lafferty 8d8119aa98 Change import path for social since it has moved 6 years ago
Sean Lafferty 7e62394d01 Add function in ds_proxy to handle oauthPassThru headers 6 years ago
Sean Lafferty 3b15e110a5 Get most recent oauth token from db, rather than lookup by auth_module 6 years ago