Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions gitleaks/.gitleaks-grafana.toml
Original file line number Diff line number Diff line change
@@ -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]+"''',
]