Grafana Token

Bridgecrew Policy ID: BC_GIT_46
Chekov Check ID: CKV_SECRET_46
Severity: LOW

Grafana Token

Description

The Grafana API key is a randomly generated string that external systems use to interact with Grafana HTTP APIs. When you create an API key, you specify a Role that determines the permissions associated with the API key. Role permissions control that actions the API key can perform on Grafana resources.

Fix - Buildtime

Grafana

DELETE /api/auth/keys/:id

DELETE /api/auth/keys/3 HTTP/1.1
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk