Replies: 1 comment 4 replies
-
fyi, found #3396 and it looks like I should rather use the project UUID for my release builds, instead of project name. It would still be beneficial to have some best practices and/or different use cases documented. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear community,
I recently started using Dependency Track and there is one thing that I am not quite sure if configured correctly or working as designed.
I use Jenkins Dependency Track plugin to publish BOM from within our build pipelines, e.g.
dependencyTrackPublisher artifact: 'build/reports/bom.xml', projectName: 'myproject', projectVersion: imageTag, synchronous: false, autoCreateProjects: true, dependencyTrackApiKey: API_KEY
This currently leads to separate projects in the Projects overview, each having just one single version. Since I could manually "Add version" on each project, it seems to make more sense overall to have all versions consolidated under one project. I also figured that with the current setup, I am not able to suppress findings for all existing and future versions, I guess this is not intended?
What is the actual best practice for BOM uploads to Dependency Track?
What is the logic behind autoCreateProjects? Should it only be used for initial uploads, but not with CI? The docs read, that the parameter is optional. Does Dependency Track create a new project only when it does not find an existing project having the same name or UUID? Is there some high level flowchart that would help to understand the logic, or additional documentation available on how the publishing parameters will influence the assignment of the BOM to a project?
If things should work differently than described - how could I troubleshoot this?
tl;dr - how are you uploading BOMs, using UUID or project (or even parent) names from within your pipelines?
Beta Was this translation helpful? Give feedback.
All reactions