mirror of
https://github.com/DependencyTrack/dependency-track.git
synced 2026-02-07 02:10:01 +00:00
1.2 KiB
1.2 KiB
| title | category | chapter | order |
|---|---|---|---|
| SVG Badges | Integrations | 6 | 9 |
Dependency-Track supports badges in Scalable Vector Graphics (SVG) format. Support for badges is a globally configurable option and is disabled by default.
Enabling badge support will provide vulnerability metric information to unauthenticated users. Any anonymous user with network access to Dependency-Track and knowledge of a projects information will be able to view the SVG badge.
SVG badges may be retrieved using either the UUID of the project, or the combination of a projects name and version.
HTML Examples
<img src="https://dtrack.example.com/api/v1/badge/vulns/project/{name}/{version}">
<img src="https://dtrack.example.com/api/v1/badge/vulns/project/{uuid}">
Markdown Examples


In all examples, replace {name}, {version}, and {uuid} with their respective values.