-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Labels
PRPPatch Reward Program: This label is added to all PRP related issues for easy filteringPatch Reward Program: This label is added to all PRP related issues for easy filteringPRP:RequestPatch Reward Program: This issue is a PRP contribution request and is being reviewed by the panel.Patch Reward Program: This issue is a PRP contribution request and is being reviewed by the panel.
Description
Overview
Add two new secret detectors for Grafana tokens: Grafana Cloud API Token and Grafana Service Account Token.
Popularity of Secret/Service
Grafana is used by millions of organizations worldwide for monitoring, logging, and observability.
Attackers can impersonate service accounts and gain access to Grafana instances with the same permissions as the compromised account.
Validation Method
-
Grafana Cloud API Token Validator: Queries https://www.grafana.com/api/v1/tokens with the token to verify it's associated with a valid Grafana Cloud account.
-
For Service account, a stack is searched and used as validation f.e.: xyz.grafana.net/api/user/.
regex:
Service Account: glsa_[A-Za-z0-9_-]{30,50}
Cloud: glc_[0-9a-zA-Z+/=]{110,130}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PRPPatch Reward Program: This label is added to all PRP related issues for easy filteringPatch Reward Program: This label is added to all PRP related issues for easy filteringPRP:RequestPatch Reward Program: This issue is a PRP contribution request and is being reviewed by the panel.Patch Reward Program: This issue is a PRP contribution request and is being reviewed by the panel.