Support for Badges
See original GitHub issueIt would be useful if Dependency-Track Server implemented support for “badges”. ie, as available in more recent versions of SonarQube Server, from Jenkins Embeddable Build Status Plugin, and seen all over GitHub with repos displaying badge for Travis, etc.
This would provide current info to the viewer of the badge and a link to the project within DT.
I think that this does not go against the DT philosophy of “no reporting tools” because what is displayed would be current (dynamic). DT is still the source of truth.
The current API has:
/v1/metrics/project/{uuid}/current
…although this does not cater for license metrics.
For implementation, the icon for vulnerabilities might display something similar to what is already displayed in DT:
(although perhaps something not quite so wide might be preferable).
The badge would be useful in GitHub, Confluence, etc. Additionally, could it be used by dependency-track plugin to display status within Jenkins? Especially if synchronous mode is not being used.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:5 (4 by maintainers)
Top GitHub Comments
Here are actual SVGs to serve as the basis for this feature going forward.
No Vuln Example https://gist.github.com/stevespringett/72795f003307596e344584bd0ac0c18e
With Vulns Example https://gist.github.com/stevespringett/41944c29349ff18a81e4e57f2e509eb1
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.