DependencyTrack / DependencyTrack/frontend

Remove "Enable SVG Badge support (unauthenticated)" checkbox in favor of authenticated badge API

Open
#967 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Vue
Stars
171
Forks
250
Avg merge
10h 56m
Merged PRs (30d)
84

Description

### Current Behavior

Currently, Dependency-Track's badge API's functionality can be enabled or disabled by use of the checkbox `Enable SVG Badge support (unauthenticated)` under _Administration > Configuration > General_. By default it is disabled.

### Proposed Behavior

Because in the current implementation, enabling badge support exposes them to anyone with network access to the Dependency-Track API server who knows a project name and project version without the need for authentication. Then, anyone can access vulnerability and policy summary metrics. This was was made before ACLs were implemented in Dependency-Track.

https://github.com/DependencyTrack/dependency-track/pull/4059 aims to put badges behind an API permission, thereby allowing to control access to badges more granularly through ACLs and a dedicated permission, instead of the checkbox.

If the maintainers find it acceptable to remove unauthenticated access to badges without a grace period, i.e. do not mind this being a breaking change, this enhancement aims to remove the checkbox entirely.

### 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/frontend/issues) for whether this enhancement was already requested

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.