From ec8f1935193b38166308009423f3374159d2d43a Mon Sep 17 00:00:00 2001 From: David Redmin Date: Fri, 30 Jun 2023 14:17:51 -0400 Subject: [PATCH] Simplify regex --- config/gitleaks.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/gitleaks.toml b/config/gitleaks.toml index f5ce574..3cfbadb 100644 --- a/config/gitleaks.toml +++ b/config/gitleaks.toml @@ -30,7 +30,7 @@ title = "gitleaks config" tags = ["email"] [rules.allowlist] regexes = ['''(?i)@(github.com|test.org)''', - '''(?i)@(beta.dhs.gov|cisa.dhs.gov|gwe.cisa.dhs.gov|hq.dhs.gov|trio.dhs.gov)''', + '''(?i)@(beta|cisa|gwe.cisa|hq|trio).dhs.gov''', '''(?i)(Author|Copyright|Contact|MAINTAINER)'''] pathes = ['''Godeps._workspace''']