diff --git a/config/gitleaks.toml b/config/gitleaks.toml index 912cc447..14e45cc7 100644 --- a/config/gitleaks.toml +++ b/config/gitleaks.toml @@ -32,7 +32,7 @@ title = "gitleaks config" [[rules]] id = "gitlab-pat" description = "GitLab Personal Access Token" -regex = '''glpat-[0-9a-zA-Z\-]{20}''' +regex = '''glpat-[0-9a-zA-Z\-\_]{20}''' [[rules]] id = "aws-access-token" diff --git a/testdata/repos/small/dotGit/index b/testdata/repos/small/dotGit/index index 2766ed3c..812b2d3b 100644 Binary files a/testdata/repos/small/dotGit/index and b/testdata/repos/small/dotGit/index differ