Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Snyk API URL configurable #215

Open
moxli opened this issue Apr 12, 2024 · 0 comments
Open

Make Snyk API URL configurable #215

moxli opened this issue Apr 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@moxli
Copy link

moxli commented Apr 12, 2024

I am trying to use bomber with Snyk and get the following error:

/ Fetching vulnerability data from snykΓûá could not infer userΓÇÖs Snyk organization: unable to retrieve org ID (status: 401 Unauthorized)

This is due to the fact that Snyk provides regional hosting in the EU and Australia with each region having their own API endpoints.
In this case I am using an API token for an EU based account.

API URLs
Follow the docs as usual, but base URLs are:
EU

API v1: https://api.eu.snyk.io/v1/
REST API: https://api.eu.snyk.io/rest/
AU

API v1: https://api.au.snyk.io/v1/
REST API: https://api.au.snyk.io/rest/

Source: https://docs.snyk.io/working-with-snyk/regional-hosting-and-data-residency#api-urls

@djschleen djschleen added the enhancement New feature or request label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants