Daniel Lee
0618122bcd
feat(httpsettings): add tls auth option
...
- Three text areas where the user can paste
in the CA Cert (optional), Client Cert
and Client Key.
- Tooltips for Auth checkboxes with brief
descriptions of what With Credentials and
With CA Cert are.
- Adds popover for TLS Auth header too.
- Aligns gf-form elements as labels and
checkboxes were not aligned before.
- Makes CA Cert optional as it is only
needed for self-signed certs.
2016-11-24 13:33:28 +01:00
Daniel Lee
387f8cc0c6
feat(dataproxy): TLS CA Cert for self-signed certs
...
For self-signed TLS Certificates, authentication
with InsecureSkipVerify set to false then this
error will occur:
x509: certificate signed by unknown authority
The solution is to allow the user to upload the
CA cert as well.
2016-11-24 13:22:25 +01:00
Daniel Lee
c9b2c694f1
refactor(dataproxy): TLS Client Auth
...
Use a SecureJsonData field for TLS
Client Auth instead of 3 new db
fields. Same model as used for
PluginSettings.
Saves and encrypts the pem file
content rather than just saving
the paths to the cert and key.
This allows for uploading from
the Edit Datasource page in
Grafana.
2016-11-24 13:22:25 +01:00
Joe Lanford
56b7e2dfaf
Added support for TLS client auth for datasource proxies ( #5801 )
2016-11-24 13:22:25 +01:00
Torkel Ödegaard
b32bbbd1a2
fix(influxdb): enforce database restriction, fixes #6352
2016-10-22 10:03:02 +02:00
wvl
a73424d6af
Secure Elasticsearch datasources a bit ( #6031 )
...
Instead of allowing users to access the
entire cluster, apply some sane restrictions.
Change-Id: Ib2e93722bf2e39d700d4afa713ff49ec556f2fdf
2016-09-13 15:04:21 +02:00
Torkel Ödegaard
c675ffc682
Merge branch 'master' into alerting
2016-07-27 09:45:16 +02:00
Mitsuhiro Tanda
490ea18638
(cloudwatch) fix, don't block by white list ( #5632 )
2016-07-22 13:15:18 +02:00
bergquist
dd8c3d0355
Merge branch 'master' into alerting
2016-06-20 10:44:48 +02:00
Torkel Ödegaard
5c35fac8fe
fix(dataproxy): removed accidental debug code
2016-06-17 08:11:37 +02:00
bergquist
8ec311ade4
Merge branch 'master' into alerting
2016-06-16 16:29:41 +02:00
Torkel Ödegaard
81e9aa4de4
feat(datasource): cancel in flight data source requests, refeatoring #5321
2016-06-16 10:48:26 +02:00
Torkel Ödegaard
34e17f7282
feat(alerting): requests looks to be working again
2016-06-06 17:11:46 +02:00
Torkel Ödegaard
aef2b6b45f
feat(instrumentation): finial polish
2016-06-03 17:15:17 +02:00
Torkel Ödegaard
1a05ae2eaa
feat(instrumentation): more work
2016-06-03 15:06:57 +02:00
Torkel Ödegaard
3065d10931
feat(timing): timing is now working with graphite and influxdb
2016-06-03 09:17:36 +02:00
Jared Wiltshire
c9d6321f38
Allow for proxying Authorization header and automatically convert ( #4832 )
...
Authorization header to X-DS-Authorization in backend_srv.js
2016-05-26 07:13:29 +02:00
Torkel Ödegaard
711992c8e2
fix(influxdb): minor fix for duplicated db param to proxied influxdb call, fixes #4703
2016-04-25 09:26:47 +02:00
Torkel Ödegaard
e63ff1c762
feat(dataproxy): set flush interval, need a setting for this
2016-03-19 11:09:26 +01:00
bergquist
75454b02c0
fix(dataproxy): remove partially used cache
...
closes #4044
2016-02-23 13:05:47 +01:00
bergquist
34eb5acee7
feat(dataproxy): remove 'SetCookie' from reponse
...
set cookie could potentialll leak information about the
datasource if in proxy mode.
closes #3845
2016-01-29 23:17:11 +01:00
bergquist
4fe72ebf69
feat(macaron): upgrades macaron version
2016-01-13 15:11:23 +01:00
Torkel Ödegaard
5d64568f3e
refactoring: some minor refactoring and changes to AWS profile PR #3053
2015-10-29 11:44:34 +01:00
Torkel Ödegaard
9fc91b7aa1
fixed gofmt issue
2015-10-08 17:30:13 +02:00
Torkel Ödegaard
180ba33ac8
feat(cloudwatch): refactoring and cleanup of backend code, started moving hard coded stuff in the frontend to the backend, changed name of metricFind queries region() -> regions() , and namespace() -> namespaces() to be more consistent with the others, #684
2015-10-02 11:10:21 +02:00
Torkel Ödegaard
a23217cc6f
fix(influxdb): clear existing Authorization header when proxying request to InfluxDB, fixes #2778
2015-09-19 12:32:35 +02:00
Torkel Ödegaard
9603dce469
feat(dataproxy): added whitelist setting and feature for data proxies, closes #2626
2015-09-09 17:21:25 +02:00
Torkel Ödegaard
ffbf70af25
Merge branch 'cloudwatch' of https://github.com/mtanda/grafana into cloudwatch
2015-08-31 15:45:49 +02:00
Mitsuhiro Tanda
00f76ecaf6
CloudWatch proxy support
2015-08-20 00:51:23 +09:00
Torkel Ödegaard
19f64bc561
fix(data source proxy): clear proxies request from cookies, fixes #2470
2015-08-10 12:11:18 +02:00
Torkel Ödegaard
0ed4744a33
influxdb(auth): fixed issue with using basic auth and influxdb, fixes #2455
2015-08-07 11:02:32 +02:00
Torkel Ödegaard
fc43ce657c
allow data source proxy to proxy requests over self signed https connections, Closes #2069
2015-06-01 11:00:29 +02:00
Torkel Ödegaard
2fec2c2fa0
Templating: Dashboard will now wait to load until all template variables that have refresh on load set or are initialized via url to be fully loaded and so all variables are in valid state before panels start issuing metric requests. Closes #1255
2015-03-14 15:29:41 -04:00
Torkel Ödegaard
477e035f2e
Fixed anonymous access mode, Closes #1586
2015-03-11 17:34:11 +01:00
Torkel Ödegaard
9710771f16
Added basic auth to data source edit/create, add support for basic auth in data source proxy code, Closes #1510
2015-03-02 09:58:35 +01:00
Torkel Ödegaard
109dd3240a
Work on new datasource plugin model, #1276 #1472
2015-02-28 08:25:13 +01:00
Torkel Ödegaard
ae7f18f981
Made a copy of influxdb datasource named influxdb_08 so the main influxdb data source can be modified to support InfluxDB 0.9, made some initial experiments to get queries to work, but a lot more work is needed, #1525
2015-02-25 18:43:44 +01:00
Torkel Ödegaard
26e4809e2e
Big Backend Refatoring: Renamed Account -> Org
2015-02-23 20:07:49 +01:00
Torkel Ödegaard
1a44036148
Fixed req.Host in datasource proxy, Fixes #1478
2015-02-13 07:26:33 +01:00
Torkel Ödegaard
10820f31c2
Changed go package path
2015-02-05 10:37:13 +01:00
Torkel Ödegaard
90925273a0
User / Account model split, User and account now seperate entities, collaborators are now AccountUsers
2015-01-19 18:01:04 +01:00
Torkel Ödegaard
22156fe309
Big refactoring for context.User, and how current user info is fetching, now included collaborator role
2015-01-16 14:32:18 +01:00
Torkel Ödegaard
3226a3a58e
Fixed hashing of passwords, Closes #3
2015-01-08 09:00:00 +01:00
Torkel Ödegaard
164d11c816
InfluxDB now works in proxy mode, influxdb username and password is added in the backend and never exposed to frontend, #8
2014-12-29 13:36:08 +01:00