27 lines
832 B
YAML
27 lines
832 B
YAML
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: 4a0a00473045022100b516528a998b0a85baf106f26125431535630d55e21fde4fedbd62172ed5b7e302200093d28e4fd8afd0c3ae343579d0dbe034c791a7ed19d64c182d03c99cc6db94:922c64590222798bb761d5b6d8e72950
|