Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DT project-urls in notification mails for 'new vulnerable dependency' don't work #3979

Closed
2 tasks done
malice00 opened this issue Jul 15, 2024 · 3 comments
Closed
2 tasks done
Labels
defect Something isn't working p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/S Small effort
Milestone

Comments

@malice00
Copy link
Contributor

Current Behavior

In the notification mail for 'new vulnerable dependency', DT generates a url that ends in /projects/?uuid=<uuid>, which does not work when clicking on it. The url for the component, which looks similar, does work.
I do find it strange though, that in the mail for 'new vulnerability' the url is generated differently and ends in /projects/<uuid>.

Steps to Reproduce

  1. Create a project
  2. Setup mail notification for 'NEW_VULNERABLE_DEPENDENCY'
  3. Upload SBOM
  4. Wait for mail
  5. Click project-link

Expected Behavior

We expect to either see the url similar as in the 'new vulnerability' mail or for DT to correctly handle the currently generated url.

Dependency-Track Version

4.11.5

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

14.9

Browser

Mozilla Firefox

Checklist

@malice00 malice00 added defect Something isn't working in triage labels Jul 15, 2024
@malice00
Copy link
Contributor Author

malice00 commented Jul 17, 2024

OK, so it seems this is a very easy fix. If you want to use the ?uuid=<uuid>-Variant, the correct url is /project-- so without the 's'! Nothing a cloned template can't fix, but would be nice to have the default templates work out of the box. ;-)

@nscuro nscuro added p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/S Small effort and removed in triage labels Aug 1, 2024
@nscuro
Copy link
Member

nscuro commented Aug 1, 2024

Fixed in #4026.

@nscuro nscuro closed this as completed Aug 1, 2024
@nscuro nscuro added this to the 4.12 milestone Aug 1, 2024
@nscuro nscuro modified the milestones: 4.12, 4.11.6 Aug 10, 2024
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
defect Something isn't working p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/S Small effort
Projects
None yet
Development

No branches or pull requests

2 participants