fix twilio detectortype bug

This commit is contained in:
Luke Marshall
2026-08-07 11:37:08 +10:00
parent d31c04eaf9
commit d2f2e7ceed
+1 -1
View File
@@ -67,7 +67,7 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
for apiKey := range uniqueAPIKeys {
for secret := range uniqueSecrets {
s1 := detectors.Result{
DetectorType: detector_typepb.DetectorType_Twilio,
DetectorType: detector_typepb.DetectorType_TwilioApiKey,
Raw: []byte(apiKey),
RawV2: []byte(apiKey + secret),
Redacted: secret[:5] + "...",