LS-GRAFANA-001: Grafana Service Token¶
| Severity | HIGH |
| Blast radius | Observability platform compromise |
| Rotate at | https://grafana.com/profile/api-keys |
If this leaks¶
Allows API access to the Grafana instance per the token's role, including reading dashboards and, for admin tokens, managing data sources and users.
What to do¶
- Rotate or revoke the credential at https://grafana.com/profile/api-keys.
- Check the provider's audit logs for use you don't recognise.
- Remove it from git history (
leakscan purge --help) and load it from an environment variable or secret manager instead.
Pattern¶
glsa_[A-Za-z0-9]{32}_[A-Fa-f0-9]{8}
Suppress¶
On one line: # leakscan:ignore LS-GRAFANA-001. For the whole project:
disable_rules: [LS-GRAFANA-001]