Grafana Api Key

Description

The source code repository contains sensitive information: Grafana API Key

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    Matches Grafana API Key patterns in source code and configuration files

Vulnerable code example

GRAFANA_KEY=eyJrIjoiT2tGbVFWaDNGb3ZtdnA3eWlVcElaMQkl==
GRAFANA_API_KEY=eyJrIjoiOiJIUzI1NiIsInR5cCI6IkpXVCJ9ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456
grafana_token: eyJrIjoiOmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6ABCDEFGHIJKLMNOPQRSTUVWXY