[FEAT]: Detect github-enterprise URL before migrating it or allow explicit definition of github integration type to ignore github-enterprise integrations #4
Labels
enhancement
New feature or request
Is there an existing feature request for this?
Description
The default settings of the tool assume github-enterprise integration is used. Our company has multiple instances of github enterprise server installed, so it's safe to assume most github-enterprise integrations are NOT going towards github.com. Also because snyk only allows one integration type per organization, that itself poses some significant limitation to our use cases.
We are now migrating to github cloud app to get rid of the personal github integrations, but we can't blanket migrate github-enterprise integrations to the github cloud app as they are likely linked to our internal enterprise server instances.
Instead of defaulting to github-enterprise with an option to include github, there should be a mechanism to explicitly specify specific integration type to migrate to make it easy to exclude github-enterprise without hacking the code and then having the option to migrate all.
Advanced method could be to actually detect the target of the github enterprise integration and if it's not pointing to github.com, ignore it. It's not super clear how you can get this information using the public snyk API at the moment.
The public integration settings API does not include the account settings portion of the github enterprise integration which would contain the actual URL of the instance, which is far from optimal for this use-case. https://snyk.docs.apiary.io/#reference/integrations/integration-settings/retrieve
Additional Information
No response
The text was updated successfully, but these errors were encountered: