snyk-labs / snyk-tags-tool

CLI tool designed to manage tags and attributes at scale
Other
13 stars 17 forks source link

[BUG]: #23

Open padovah4ck opened 1 year ago

padovah4ck commented 1 year ago

Is there an existing issue for this?

Description of the bug

Hi, it seems snyk-tags tool tags every projects indiscriminately if a non existing "--group-id" passed as parameter.

Steps To Reproduce

Run the command

snyk-tags tag sca --tenant eu --synktkn xxxxxxxxxx --group-id "not-exisiting-group-id"

The tool seems to add a sca tag (Product:Opensource) to all projects for every organization associated to the default group from the Snyk token.

Additional Information

No response

EricFernandezSnyk commented 8 months ago

Hi @padovah4ck sorry I had missed this, but you are right, I was able to reproduce this and will look into it. Thanks!