Skip to content

Commit

Permalink
Merge pull request #1440 from DependencyTrack/port-Fix-project-link-f…
Browse files Browse the repository at this point in the history
…or-email-publisher

Port : Fix project link for new vulnerable dependency for email
  • Loading branch information
nscuro authored Aug 8, 2024
2 parents 7caabee + 116ac6c commit 8829272
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ public void testInformWithNewVulnerableDependencyNotification() throws Exception
--------------------------------------------------------------------------------
Project: pkg:maven/org.acme/projectName@projectVersion
Project URL: https://example.com/projects/?uuid=c9c9539a-e381-4b36-ac52-6a7ab83b2c95
Project URL: https://example.com/projects/c9c9539a-e381-4b36-ac52-6a7ab83b2c95
Component: componentName : componentVersion
Component URL: https://example.com/component/?uuid=94f87321-a5d1-4c2f-b2fe-95165debebc6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Project URL: {{ baseUrl }}/projects/{{ subject.project.uuid }}
Other affected projects: {{ baseUrl }}{{ subject.affectedProjectsReference.frontendUri }}
{% elseif notification.group == "GROUP_NEW_VULNERABLE_DEPENDENCY" %}
Project: {{ subject.project | summarize }}
Project URL: {{ baseUrl }}/projects/?uuid={{ subject.project.uuid }}
Project URL: {{ baseUrl }}/projects/{{ subject.project.uuid }}
Component: {{ subject.component | summarize }}
Component URL: {{ baseUrl }}/component/?uuid={{ subject.component.uuid }}

Expand Down

0 comments on commit 8829272

Please sign in to comment.