Skip to content

Commit

Permalink
Don't return on okta credential failed verification (trufflesecurity#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mcastorina authored Jun 27, 2023
1 parent 4a77688 commit 8ea49de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/detectors/okta/okta.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8ea49de

Please sign in to comment.