We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d92289d commit 94a1653Copy full SHA for 94a1653
pkg/detectors/rabbitmq/rabbitmq.go
@@ -19,7 +19,7 @@ type Scanner struct{}
19
var _ detectors.Detector = (*Scanner)(nil)
20
21
var (
22
- keyPat = regexp.MustCompile(`\b(?:amqp:)?\/\/[\S]{3,50}:([\S]{3,50})@[-.%\w\/:]+\b`)
+ keyPat = regexp.MustCompile(`\b(?:amqps?):\/\/[\S]{3,50}:([\S]{3,50})@[-.%\w\/:]+\b`)
23
)
24
25
// Keywords are used for efficiently pre-filtering chunks.
0 commit comments