dependency-track/docs/_docs/integrations/badges.md
Steve Springett e43535d3e8
DOCs 3.7
2019-12-16 09:52:42 -06:00

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

![alt text](https://dtrack.example.com/api/v1/badge/vulns/project/{name}/{version})
![alt text](https://dtrack.example.com/api/v1/badge/vulns/project/{uuid})

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