Skip to content

Find, verify, and analyze leaked credentials

Don't return on okta credential failed verification (#1432)

Miccah8ea49de490bf
diff --git a/pkg/detectors/okta/okta.go b/pkg/detectors/okta/okta.go
index ecaef8a27..479ca73d4 100644
--- a/pkg/detectors/okta/okta.go
+++ b/pkg/detectors/okta/okta.go
@@ -63,7 +63,7 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
resp, err := common.SaneHttpClient().Do(req)
if err != nil {
- return results, err
+ continue
}
defer resp.Body.Close()
if resp.StatusCode >= 200 && resp.StatusCode < 300 {