{
  "id": "github_token",
  "kind": "datatype",
  "status": "draft",
  "name": "GitHub token",
  "doc": "Token issued by GitHub, such as a personal access token. It starts with a prefix that names the token type (ghp_, gho_, ghu_, ghs_ or ghr_) followed by 36 letters and digits.",
  "children": [
    "github_fine_grained_pat"
  ],
  "is_pii": false,
  "categories": [
    "secrets"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^gh[pousr]_[A-Za-z0-9]{36}$",
  "mappings": {
    "purview": [
      "GitHub personal access token",
      "All Credential Types",
      "All credentials"
    ]
  },
  "links": [
    {
      "type": "doc",
      "url": "https://learn.microsoft.com/en-us/purview/sit-defn-github-personal-access-token"
    },
    {
      "type": "doc",
      "url": "https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-authentication-to-github"
    }
  ],
  "detected_by": {
    "tools": [
      "detectsecrets",
      "gitleaks",
      "microsoftpurview",
      "nightfall",
      "semgrep",
      "trufflehog"
    ]
  },
  "quality": {
    "score": 75,
    "missing": [
      "examples",
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/github_token.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/github_token.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/github_token.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/github_token",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/github_token.json"
  }
}