We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65a7855 commit d7123c6Copy full SHA for d7123c6
1 file changed
pkg/detectors/honeycomb/honeycomb.go
@@ -20,7 +20,8 @@ var (
20
client = common.SaneHttpClient()
21
22
// Make sure that your group is surrounded in boundary characters such as below to reduce false positives.
23
- keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"Honeycomb"}) + `\b([0-9a-zA-Z]{22})\b`)
+ // Older + Newer API key format. See pull#687 for discussion
24
+ keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"Honeycomb"}) + `\b([0-9a-f]{32}|[0-9a-zA-Z]{22})\b`)
25
)
26
27
// Keywords are used for efficiently pre-filtering chunks.
0 commit comments