From 77c048e1004e61ffb5ccf4a90a38f114c7dd386c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=CC=81=20Burghardt?= Date: Wed, 1 Jul 2026 11:43:46 +0200 Subject: [PATCH] feat: add gitleaks configuration for Grafana dashboards --- gitleaks/.gitleaks-grafana.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 gitleaks/.gitleaks-grafana.toml diff --git a/gitleaks/.gitleaks-grafana.toml b/gitleaks/.gitleaks-grafana.toml new file mode 100644 index 0000000..bc69232 --- /dev/null +++ b/gitleaks/.gitleaks-grafana.toml @@ -0,0 +1,13 @@ +title = "gitleaks config for grafana-dashboards" + +[extend] +useDefault = true + +[[allowlists]] +description = "Allow Grafana panel target key identifiers in dashboard JSON files" +paths = [ + '''^dashboards(?:-fra)?/.+\.json$''', +] +regexes = [ + '''"key"\s*:\s*"Q-[0-9a-fA-F-]+-[0-9]+"''', +]