Skip to content

Project name rendered as PURL in notifications and logs #4484

@lukas-braune

Description

@lukas-braune

Current Behavior

Projects that have a PURL assigned (SBOM's metadata component) will be rendered with the PURL instead of their project name at least in the following locations:

  • Email notifications: subject and body
  • Microsoft Teams notifications: message title
  • Log messages: org.dependencytrack.resources.v1.ProjectResource logger → project creation and deletion events

This seems to be a regression as it should have been resolved by #4108.

Steps to Reproduce

  1. Create a new project and assign a PURL address under Identity tab
  2. Configure MS Teams and email notifications
  3. Assign a vulnerable component in order to trigger the delivery of notifications (for instance)
  4. Remove the project

Expected Behavior

Render the project name instead of the PURL

Dependency-Track Version

4.12.2

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

15.8

Browser

Google Chrome

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectSomething isn't workingp2Non-critical bugs, and features that help organizations to identify and reduce risksize/SSmall effort

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions