Add Grafana access review connector support

Add Grafana as an access review connector-backed source.

This introduces a Grafana access-review driver, provider registration,
and connector settings for the Grafana base URL. It also wires the
new provider through GraphQL and access-review UI input mapping so
API-key connectors can be created from the product.

A connector_provider enum migration is included so Grafana can be
persisted in existing databases.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
Cursor Agent
2026-05-28 21:54:04 +00:00
committed by Bryan Frimin
parent fcd7d68778
commit f5a632ffac
10 changed files with 458 additions and 0 deletions

View File

@@ -113,6 +113,9 @@ function mapAPIKeyExtraSettingToField(
case "GITHUB":
if (settingKey === "organization") return "githubOrganization";
break;
case "GRAFANA":
if (settingKey === "baseUrl") return "grafanaBaseUrl";
break;
case "ONE_PASSWORD":
if (settingKey === "scimBridgeUrl") return "onePasswordScimBridgeUrl";
break;