Skip to content

Conversation

@ch8matt
Copy link
Contributor

@ch8matt ch8matt commented Oct 30, 2025

Description

This PR fixes an incorrect API endpoint used when opening the “Select Tag” modal in the Policy Management view.
Previously, the frontend attempted to fetch tags from:

/api/v1/tag/{policy.uuid}?searchText=&pageSize=...

This endpoint is invalid, since tag listing should not include a policy UUID.

The change updates SelectTagModal.vue to use the correct endpoint:

/api/v1/tag?searchText=&pageSize=...

This ensures that the modal correctly lists all available tags for selection when limiting a policy to tags.

Addressed Issue

Additional Details

Checklist

Signed-off-by: ch8matt <g.matthieu49@gmail.com>
@owasp-dt-bot
Copy link

owasp-dt-bot commented Oct 30, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@ch8matt ch8matt closed this Oct 31, 2025
@ch8matt ch8matt reopened this Oct 31, 2025
@nscuro nscuro added defect Something isn't working backport/4.13.6 PRs to be backported to version 4.13.6 labels Oct 31, 2025
@nscuro nscuro added this to the 4.14.0 milestone Oct 31, 2025
Copy link
Member

@nscuro nscuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nscuro nscuro merged commit ab676a4 into DependencyTrack:master Oct 31, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/4.13.6 PRs to be backported to version 4.13.6 defect Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants