GitLab pats may contain underscores as well as dashes (#794)

* gitlab pats may contain underscores as well as dashes

* include testdata index binary

Co-authored-by: Greg Johnson (codeEmitter) <gjohnson@gitlab.com>
This commit is contained in:
Greg JohnsonandGreg Johnson authored and GitHub committed 2022-02-28 08:03:09 -06:00
1 parent c3b799ec63
commit 60dd607312
2 files changed
+1 -1

No files matched your search

+1 -1
View File
@@ -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"
Binary file not shown.