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

[🙏] Request the ability to pass in a Target Id to generate snyk licenses report #113

Open
mcgovc opened this issue Feb 13, 2023 · 0 comments

Comments

@mcgovc
Copy link

mcgovc commented Feb 13, 2023

Describe the user need
The ability to pass a target id to generate a license report.

Currently, to generate a license report for a specific target then you need to retrieve the org id and all the project Id's for that target from Snyk and append as args to the CLI call with --orgPublicId and them to a number of --project e.g.

snyk-licenses-report generate --orgPublicId=<ORG_PUBLIC_ID> --project=<PROJECT_PUBLIC_ID_1> --project=<PROJECT_PUBLIC_ID_2>

Describe expected behaviour
If you could pass the --orgPublicId along with a target id --targetId and a report could be generated for all the projects associated/within the target.
snyk-licenses-report generate --orgPublicId=<ORG_PUBLIC_ID> --targetId=<TARGET_ID>

Additional context

Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant