Fix the review dashboard's label actions for Grafana 13 #27

Merged
james merged 2 commits from review-dashboard-grafana13 into main 2026-11-19 02:23:58 +00:00
Owner

Fixes the review dashboard's label actions on Grafana 13.

  • Colours: action button colours must be hex. Grafana 13's table crashes on the named colours green and red, so they are now #73BF69 and #F2495C.
  • Reviewer name: Infinity sends its own requests rather than going through Grafana's data source proxy, so [dataproxy] send_user_header never added X-Grafana-User and labels arrived with no reviewer. The actions now send X-Grafana-User: ${__user.login} themselves.
  • Docs: README and integrations/grafana/README.md now document the vizActionsAuth feature toggle, without which Grafana 13 hides actions that call a data source. They also say that the reviewer name comes from the dashboard, so a signed-in user could edit it. Treat it as a record, not proof of identity.

Dashboard JSON only; no Go changes. Pairs with gitops-infra #508, which labels need for a reviewer name.

Fixes the review dashboard's label actions on Grafana 13. - **Colours:** action button colours must be hex. Grafana 13's table crashes on the named colours `green` and `red`, so they are now `#73BF69` and `#F2495C`. - **Reviewer name:** Infinity sends its own requests rather than going through Grafana's data source proxy, so `[dataproxy] send_user_header` never added `X-Grafana-User` and labels arrived with no reviewer. The actions now send `X-Grafana-User: ${__user.login}` themselves. - **Docs:** README and `integrations/grafana/README.md` now document the `vizActionsAuth` feature toggle, without which Grafana 13 hides actions that call a data source. They also say that the reviewer name comes from the dashboard, so a signed-in user could edit it. Treat it as a record, not proof of identity. Dashboard JSON only; no Go changes. Pairs with gitops-infra #508, which labels need for a reviewer name.
Fix the review dashboard's label actions for Grafana 13
All checks were successful
test / laya (pull_request) Successful in 4s
security-scan / security-scan (pull_request) Successful in 1m13s
test / go (pull_request) Successful in 3m26s
6352bdbcd6
Action colours must be hex: named colours crash the table. Infinity
sends its requests itself, so the dataproxy user header never reaches
centinela; the actions now send X-Grafana-User. Document the
vizActionsAuth feature toggle the actions need.

🔎 ojo scan results

No findings.

<!-- ojo-scan-summary --> ### 🔎 ojo scan results No findings.
Merge branch 'main' into review-dashboard-grafana13
All checks were successful
test / laya (pull_request) Successful in 4s
security-scan / security-scan (pull_request) Successful in 43s
test / go (pull_request) Successful in 3m36s
0cf8b4c0ed
james merged commit f1a13d619e into main 2026-11-19 02:23:58 +00:00
james deleted branch review-dashboard-grafana13 2026-11-19 02:23:58 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ColibriSec/centinela!27
No description provided.