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

Extend dependency commands to support the same project existing in more than one Org #17

Open
carwin opened this issue Sep 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@carwin
Copy link
Owner

carwin commented Sep 14, 2022

Extrapolated from #5, this is a bit of an edge case but not out of the realm of possibility. At the moment the dependency commands take a project name, and use that to find the the parent org ID necessary for the API call -- what would happen if a user tracked the same project in two Orgs?

To handle that, we should allow users to specify their org ID in the command - though this will need to be balanced with other potential additions to the dependency command(s) and their order in the syntax.

The original thought is something like:

    /snyk dependencies <Project Name> <Org Name>
    /snyk dependencies <Project ID> <Org Name>
    /snyk dependencies <Project Name> <Org ID>
    /snyk dependencies <Project ID> <Org ID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant