Open mcombuechen opened 5 days ago
When enriching a particularly large SBOM with Snyk vulnerabilities, the excessive amount of requests can trigger 429 Too Many Requests responses.
429 Too Many Requests
This introduces a retry mechanism to account for such a case and honor the retry-after value coming from the Snyk API.
Closes #83.
Unit tests now failing due to nature of github.com/jarcoal/httpmock, investigating whether this can easily be fixed.
github.com/jarcoal/httpmock
When enriching a particularly large SBOM with Snyk vulnerabilities, the excessive amount of requests can trigger
429 Too Many Requests
responses.This introduces a retry mechanism to account for such a case and honor the retry-after value coming from the Snyk API.
Closes #83.