DependencyTrack / DependencyTrack/dependency-track
Customize Badge Text
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior
The two different badges accessible through the API have fixed text on the left part. It's not possible to use a different text.
### Proposed Behavior
Through the use of parameters, being able to change the text and length of the badge (to match the text) would offer more flexibility (especially when the team using the tool uses another language than english).
`https://dturl/api/v1/badge/vulns/project/{uuid}?key_text=Vulnérabilités&key_width=120`
### Checklist
- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this enhancement was already requested
Contributor guide
Assessment
This issue has not been assessed yet.