diff --git a/gitleaks.toml b/gitleaks.toml index 7c3103de..a6f929df 100644 --- a/gitleaks.toml +++ b/gitleaks.toml @@ -28,7 +28,7 @@ description = "PGP" regex = '''-----BEGIN PGP PRIVATE KEY BLOCK-----''' [[regexes]] description = "Slack token" -regex = '''xoxo[bapr]-.*''' +regex = '''xox[baprs]-.*''' [whitelist] regexes = [ diff --git a/main.go b/main.go index a6cde72b..997d4436 100644 --- a/main.go +++ b/main.go @@ -173,7 +173,7 @@ description = "Github" regex = '''(?i)github.*['\"][0-9a-zA-Z]{35,40}['\"]''' [[regexes]] description = "Slack" -regex = '''xoxo[bapr]-.*''' +regex = '''xox[baprs]-.*''' [[regexes]] description = "Telegram" regex = '''\d{5,}:A[a-zA-Z0-9_\-]{34,34}'''