Skip to content

Grafana Cloud API Key

ID: grafana-cloud-token

Severity: info

Author: DhiyaneshDK

Tags: grafana,exposure,tokens

id: grafana-cloud-token
info:
name: Grafana Cloud API Key
author: DhiyaneshDK
severity: info
reference:
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/grafana-cloud-api-token.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/grafana-cloud-api-token.go
metadata:
verified: true
max-request: 1
tags: grafana,exposure,tokens
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)\b(glc_[A-Za-z0-9+/]{32,400}={0,2})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 490a0046304402207a6e34cadded8d78808ca70c3cfefa364fc9d1c1424c23370000551a798627f802206cc6f9b1345574d95f2c8495c139b2cf26ae8e7f26c7b13112238828bbe8503f:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/tokens/grafana/grafana-cloud-token.yaml"

View on Github