24 lines
636 B
YAML
24 lines
636 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:
|
||
|
max-request: 1
|
||
|
verified: true
|
||
|
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|;]|$)
|