Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Update ngrok.go detector to handle 403s properly (#4216)
thiggy134252d0ee5f5419
diff --git a/pkg/detectors/ngrok/ngrok.go b/pkg/detectors/ngrok/ngrok.goindex e31cd08cd..620857505 100644--- a/pkg/detectors/ngrok/ngrok.go+++ b/pkg/detectors/ngrok/ngrok.go@@ -99,6 +99,8 @@ func verifyMatch(ctx context.Context, client *http.Client, token string) (bool,return true, nilcase http.StatusUnauthorized:return false, nil+ case http.StatusForbidden:+ return false, nilcase http.StatusBadRequest:bodyBytes, err := io.ReadAll(res.Body)if err != nil {