Grafana Api Token

Description

The source code repository contains sensitive information: Grafana API Token

Weakness:

009 - Sensitive information in source code

Category: Information Collection

Detection Strategy

    Matches Grafana API Token patterns in source code and configuration files

Vulnerable code example

GRAFANA_CLOUD_TOKEN=glc_eyJrIjoiOiJIUzI1NiIsInR5cCI6IkpXVCJ9abcdefghijklmnopqrstuvwxyzABCDE
grafana_api_key: glc_eyJhbGciOiJIUzI1NiJ9ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefgh