nuclei-templates/file/keys/grafana/grafana-api-key.yaml

22 lines
567 B
YAML
Raw Normal View History

2023-07-14 11:42:53 +00:00
id: grafana-api-key
info:
name: Grafana API Key
author: DhiyaneshDK
severity: info
reference:
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/grafana-api-key.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/grafana-api-key.go
metadata:
verified: true
tags: grafana,file,keys
file:
- extensions:
- all
extractors:
- type: regex
part: body
regex:
- (?i)\b(eyJrIjoi[A-Za-z0-9]{70,400}={0,2})(?:['|\"|\n|\r|\s|\x60|;]|$)