Skip to content

[FEAT]: Detect github-enterprise URL before migrating it or allow explicit definition of github integration type to ignore github-enterprise integrations #4

Open
@unitysipu

Description

Is there an existing feature request for this?

  • I have searched the existing feature requests

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.

  1. 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.

  2. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions