Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
fix(github): response can be nil (#2583)
Richard Gomezfd7e7e6e296c
diff --git a/pkg/detectors/github/v1/github_old.go b/pkg/detectors/github/v1/github_old.goindex 8989bac47..a8ac717e6 100644--- a/pkg/detectors/github/v1/github_old.go+++ b/pkg/detectors/github/v1/github_old.go@@ -124,6 +124,7 @@ func (s Scanner) VerifyGithub(ctx context.Context, client *http.Client, token stres, err := client.Do(req)if err != nil {requestErr = err+ continue}if res.StatusCode >= 200 && res.StatusCode < 300 {