DependencyTrack / DependencyTrack/dependency-track

POST/PUT /project allows you to update tags but POST/PUT policy doesn't

Open
#5,195 0 comments 0 reactions 0 assignees View on GitHub
defect in triage
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

If you set `.tags` in POST/PUT requests to v1/project the tags will be updated
If you set `.tags` in POST/PUT request to v1/policy the contents are ignored

### Steps to Reproduce

1.

### Expected Behavior

You can update policy tags via POST/PUT v1/policy

### Dependency-Track Version

4.13.2

### Dependency-Track Distribution

Container Image

### Database Server

N/A

### Database Server Version

_No response_

### Browser

N/A

### 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 defect was already reported

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.