grafana/pkg
linoman 359d84799e
auth: add serviceaccount proxy (#76815)
* Add proxy service template

* Replace SA srv with proxy for external SA srv

* Move service account prefix to a constant

* Prevent deletion from external service account

* Make SA validation a resusable function

* Add protection for creating service accounts

* Add protection when updating service accounts

* Add IsExternal field for service account

* Protect ext service account token generation

* Add verbose errors for form name or sa name

* add tests

* Add logs

* Adjusts tests

---------

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-10-23 14:09:42 +02:00
..
api Fix: align access to the team page with access to the team tab (#76868) 2023-10-20 13:51:03 +01:00
apis K8s: Namespace parsing updates (default + stack-id) (#76310) 2023-10-12 21:34:50 +03:00
build Building: Remove dependency to urw-fonts in RPM packages (#76198) 2023-10-10 08:15:54 +02:00
bus Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
cmd Expose enterprise-commit in server version output (#75897) 2023-10-04 14:51:35 +02:00
codegen Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
components imagestorage: fix templating of public_url option for webdav (#74885) 2023-09-28 00:35:10 +03:00
cuectx Kinds: publish kinds to kind registry (#67515) 2023-06-13 14:01:29 +02:00
events Alerting: Update rules version when folder title is updated (#53013) 2022-08-01 19:28:38 -04:00
expr SSE: Support hysteresis threshold expression (#70998) 2023-10-10 17:51:50 +03:00
extensions Chore: Replace gofpdf (#75805) 2023-10-02 15:32:35 +02:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra SigningKeys: Add jwks endpoint (#76040) 2023-10-05 15:17:31 +02:00
kinds DashboardScene: Support for dashboard PanelContext actions via state hook (#76192) 2023-10-13 11:42:42 +02:00
kindsysreport Playlist: Use a different go struct for sql service vs k8s (#76393) 2023-10-12 08:29:06 -07:00
login Social: Fix error decoding id_token log (#76664) 2023-10-17 10:57:35 +02:00
middleware RBAC: Fix plugins pages access-control (#76321) 2023-10-12 10:46:43 +02:00
mocks/mock_gcsifaces Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
models Auth: Add empty role definition (#64694) 2023-07-06 15:40:06 +02:00
modules Chore: refactor grafana-apiserver a bit (#74177) 2023-08-31 09:12:01 -04:00
plugins Chore: Use externally built core plugins (#76682) 2023-10-20 13:12:58 +02:00
registry Alerting: Fix flaky SQLITE_BUSY when migrating with provisioned dashboards (#76658) 2023-10-19 10:03:00 -04:00
server Alerting: Move legacy alert migration from sqlstore migration to service (#72702) 2023-10-12 13:43:10 +01:00
services auth: add serviceaccount proxy (#76815) 2023-10-23 14:09:42 +02:00
setting Plugins: Update PDC pattern from latest plugin SDK changes (#76576) 2023-10-16 16:40:04 +02:00
tests Correlations: Allow the insert query to be retried in a test (#76877) 2023-10-21 20:21:21 +02:00
tsdb Chore: Makefile / Magefile task to build plugins (#76763) 2023-10-23 10:44:38 +02:00
util Team LBAC: Fix multiple header values (#76821) 2023-10-19 17:09:53 +02:00
web Auth: Implement requester interface in access control module (#74289) 2023-09-06 11:16:10 +02:00
README.md Chore: Move all backend contribution documents to a single directory (#61140) 2023-01-11 11:16:52 +01:00
ruleguard.rules.go Chore: update all +build statements (#38782) 2021-09-01 17:38:56 +03:00

This directory contains the code for the Grafana backend.

The contributor documentation for Grafana's backend is in /contribute/backend/README.md.