grafana/pkg
Matthew Jacobson 8418aca823
Alerting: Add single rule checks to alert rule access control (#88307)
* Alerting: Add single rule checks to alert rule access control

Modifies ruler api single rule read to no longer fetch entire groups and instead
 use the new single rule ac check.
Simplifies provisioning api getAlertRuleAuthorized logic to always load a single
 rule instead of conditionally loading the entire group when provisioning
 permissions are not present.

* Swap out Has/AuthorizeAccessToRule for Has/AuthorizeAccessInFolder
2024-05-28 10:49:24 -04:00
..
api Refactor plugin context initialization (#88343) 2024-05-28 16:59:06 +03:00
apimachinery Prometheus: Update dependency to v0.52.0 (#87809) 2024-05-28 15:22:20 +02:00
apis Scopes: Change JS linkID to linkId (#87831) 2024-05-14 11:01:21 -04:00
apiserver Add latency metrics to mode2 (#88011) 2024-05-28 16:15:53 +02:00
build Prometheus: Update dependency to v0.52.0 (#87809) 2024-05-28 15:22:20 +02:00
bus Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
cmd RBAC: Expand action sets when fetching permissions (#87967) 2024-05-21 15:09:26 +01:00
codegen Chore: Upgrade/fix deps after thema removal (#86763) 2024-04-25 20:52:09 +02:00
components Chore: Bump google.golang.org/grpc to 1.64.0 (#88219) 2024-05-27 12:44:39 +02:00
events Alerting: Update rules version when folder title is updated (#53013) 2022-08-01 19:28:38 -04:00
expr Plugins: Support Admission validation hooks (#87718) 2024-05-24 18:45:16 +03:00
extensions Caching: Implement mtls-enabled memcached integration (#84171) 2024-05-09 15:12:08 -04:00
generated K8s: update hack codegen script (#81216) 2024-01-25 12:01:09 -08:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra Tracing: Various improvements (#88308) 2024-05-27 14:21:40 +02:00
kinds Schemas: Replace registry generation and github workflow (#83490) 2024-03-13 18:05:21 +02:00
login/social OIDC: Support Generic OAuth org to role mappings (#87394) 2024-05-23 09:55:45 +02:00
middleware Fix: Proper plugin logo loading depending on staging (#88247) 2024-05-27 10:26:30 +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 Storage Api: Add metrics (#85316) 2024-04-08 08:35:01 -06:00
plugins Plugins: Support Admission validation hooks (#87718) 2024-05-24 18:45:16 +03:00
promlib Prometheus: Update dependency to v0.52.0 (#87809) 2024-05-28 15:22:20 +02:00
registry Tracing: Various improvements (#88308) 2024-05-27 14:21:40 +02:00
server RBAC: Clean up action set code (#88147) 2024-05-23 12:14:01 +01:00
services Alerting: Add single rule checks to alert rule access control (#88307) 2024-05-28 10:49:24 -04:00
setting Azure: Load custom clouds from ini file (#87667) 2024-05-24 17:40:04 +01:00
tests Plugins: Support Admission validation hooks (#87718) 2024-05-24 18:45:16 +03:00
tsdb Refactor plugin context initialization (#88343) 2024-05-28 16:59:06 +03:00
util Errors: Update errutil to be compatible with k8s errors (#87605) 2024-05-20 18:11:37 +03:00
web Image Rendering: Add settings for default width, height and scale (#82040) 2024-02-26 13:27:34 +01: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.