{
  "id": "grafana_cloud_token",
  "kind": "datatype",
  "status": "draft",
  "name": "Grafana Cloud access policy token",
  "doc": "Token of a Grafana Cloud access policy, used by agents and API clients to send and query telemetry. Grafana documents that these tokens start with glc_; the regexp follows the gitleaks rule for the rest (32 to 400 Base64 characters). Service account tokens of a Grafana instance (glsa_) are grafana_service_account_token.",
  "parent": "access_token",
  "is_pii": false,
  "categories": [
    "secrets"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^glc_[A-Za-z0-9+/]{32,400}={0,3}$",
  "examples": [
    {
      "value": "glc_",
      "description": "Prefix without the secret",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://grafana.com/docs/learning-paths/connect-agent-to-agent-observability/create-access-policy-and-token/"
    },
    {
      "type": "other",
      "url": "https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml"
    }
  ],
  "detected_by": {
    "tools": [
      "datadogsds",
      "githubsecretscanning",
      "gitleaks"
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "examples",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/grafana_cloud_token.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/grafana_cloud_token.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/grafana_cloud_token.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/grafana_cloud_token",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/grafana_cloud_token.json"
  }
}