From d97260cbc71414c3ced6aa39b5643751febb26b9 Mon Sep 17 00:00:00 2001 From: Zachary Rice Date: Fri, 9 Feb 2024 15:24:20 -0600 Subject: [PATCH] dovico, you're out of control --- pkg/detectors/dovico/dovico.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/detectors/dovico/dovico.go b/pkg/detectors/dovico/dovico.go index 87dbeb401773..17d3dacef11b 100644 --- a/pkg/detectors/dovico/dovico.go +++ b/pkg/detectors/dovico/dovico.go @@ -22,8 +22,8 @@ var ( client = common.SaneHttpClient() // Make sure that your group is surrounded in boundary characters such as below to reduce false positives. - keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"dovico"}) + `\b([0-9a-z]{32}\.[0-9a-z]{1,})\b`) - userPat = regexp.MustCompile(detectors.PrefixRegex([]string{"dovico"}) + `\b([0-9a-z]{32}\.[0-9a-z]{1,})\b`) + keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"dovico"}) + `\b([0-9a-z]{32}\.[0-9a-z]{1,100})\b`) + userPat = regexp.MustCompile(detectors.PrefixRegex([]string{"dovico"}) + `\b([0-9a-z]{32}\.[0-9a-z]{1,100})\b`) ) // Keywords are used for efficiently pre-filtering chunks.