{"version":"2.1.290","anchor":"gitlab-token-patterns-get-displayrun-windows-git-env-and-ws","canonical_anchor":"gitlab-token-patterns-get-displayrun-windows-git-env-and-ws","heading":"GitLab token detection adjusted, plus WSL drive and git directory helpers","tier":"notice","area":"Secret Redaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.290\/e\/gitlab-token-patterns-get-displayrun-windows-git-env-and-ws","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.290","markdown":"### GitLab token detection adjusted, plus WSL drive and git directory helpers\n\nGitLab token patterns gain a display setting, and new helpers detect Windows drives under WSL and run git against other folders\n\n**Unclear.** What the new display setting on GitLab token detectors actually controls is not known.\n\n**What**\n\nThis release changes several things:\n\n- GitLab token detectors, the patterns that recognise GitLab access tokens such as feed tokens, all gain a display setting they did not have before.\n\n- A new helper detects when a path is a Windows drive mounted inside WSL (Windows Subsystem for Linux, which runs Linux on Windows).\n\n- A new helper runs git with its `-C` option, which points git at a folder other than the one you are working in.\n\n**Why**\n\nThe GitLab change may affect how detected GitLab tokens are shown, for example when they are hidden from output.\n\n- Area: Secret Redaction\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}