{
  "id": "github_fine_grained_pat",
  "name": "GitHub fine-grained personal access token",
  "status": "draft",
  "doc": "Fine-grained personal access token of GitHub, limited to selected repositories and permissions: github_pat_ followed by 82 letters, digits and underscores. Classic personal access tokens (ghp_) and GitHub's other token types are in github_token.",
  "parent": {
    "type": "github_token"
  },
  "categories": [
    {
      "id": "secrets",
      "name": "Secrets and credentials (passwords, keys, tokens)"
    }
  ],
  "langs": [
    {
      "id": "common",
      "name": "Common to most languages"
    }
  ],
  "is_pii": false,
  "classification": "identifier",
  "regexp": "^github_pat_[A-Za-z0-9_]{82}$",
  "examples": [
    {
      "value": "github_pat_ExampleTokenNotReal",
      "valid": false,
      "description": "Too short"
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-authentication-to-github"
    },
    {
      "type": "other",
      "url": "https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml"
    },
    {
      "type": "other",
      "url": "https://github.com/trufflesecurity/trufflehog/blob/main/pkg/detectors/github/v2/github.go"
    }
  ],
  "type": "datatype",
  "translations": {}
}