-
-
Notifications
You must be signed in to change notification settings - Fork 583
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
Tag Management #586
Comments
Logged JENKINS-61741 to request tag support in Dependency-Track Jenkins plugin. |
It would be great if tags can be created during upload of the bom. |
This feature would be much appreciated. |
Hi folks, due to a "misconfiguration" we have around 500k tags in our database. This slows down dependency track considerably. We would like to get rid of all the tags that we do not actually need but cannot seem to find an API endpoint to delete tags.
Thanks and best regards, |
@fbuchmeier-abi There is currently no one actively working on it AFAIK. As always, contributions would help getting it delivered sooner. :)
Yes. Just keep in mind that the |
Looking into this I wonder why In my opinion this should be URL Luckily policies are UUIDs and tags use LONG as id and string as name, so we can identify the difference and offer both. But this should probably be a deprecated legacy support then as it makes the API dirty |
There's a lot in this ticket's description, @msymons any chance we can break out non-MVP things into a separate one? Or break out the MVP functionality, and assign that to v4.12? For context, we think we need to at least offer an overview of existing tags in v4.12, as tags are being used for more and more aspects of the system. Notification tagging is coming in v4.12, and it will be very hard to keep on top of things without a central place to view and manage tags. @rkg-mm Agreed on the endpoint oddness. I should've paid more attention there when reviewing the change that brought it in. |
Interesting catch for modification / removal of existing tags:
Similarly, a tag might be used for policies, but the user trying to modify the tag does not have the Or the tag might be used for notifications, but the user doesn't have the In any case, users shouldn't be able to modify tags, if that modification affects things they don't have access to. Thus, we will need a safety mechanism that prevents mutation of tags if:
|
That makes sense. So we're talking something like Do note that even with that permission, the restrictions I mentioned above should apply I think. Or is the expectation that users with |
…{uuid}` The deprecated endpoint is ambiguous. See DependencyTrack#586 (comment) Signed-off-by: nscuro <[email protected]>
✅ Implemented in #3881 and DependencyTrack/frontend#922
✅ Implemented in #3896 and DependencyTrack/frontend#928
✅ A Creation of tags was historically possible for users with
✅ #3881 and #3896 were built with portfolio ACL in mind. If ACL is enabled, users can only see tagged projects that they have explicit access to. They can also only untag projects for which this is the case. Trying to delete a tag that is assigned to projects the user doesn't have access to will fail.
✅ Implemented in #3843 |
✅ Implemented in DependencyTrack/frontend#936 in the form of auto-completion. |
…{uuid}` The deprecated endpoint is ambiguous. See DependencyTrack#586 (comment) Signed-off-by: nscuro <[email protected]>
@msymons Is there anything more beyond what we have lined up in v4.12 that you'd want? I think we addressed the majority of it, to a degree where I'm thinking it might make sense to break out remaining bits into smaller, separate issues. Summary issues like this are hard to track completion of. |
Testing in v4.12.1 shows that the Tag Management MVP definitely does help... but does have limitations. For instance, it does not seem to currently be possible to use the UI to add a tag to projects in bulk. Nor can one rename a tag. It does make total sense to log anything additional as separate issues as some items might be more useful than others, or easier/harder to implement, etc. |
Current Behavior:
Dependency-Track v3.7.1 allows tags to be added to (or removed from) projects by users who have PORTFOLIO_MANAGEMENT permission. This permission includes the ability to create new tags.
Proposed Behavior:
Some items (such as tag deletion and enforcing lower-case) are discussed in #238).
The text was updated successfully, but these errors were encountered: