DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.7k stars 578 forks source link

Add warning for missing component identifiers (CPE or purl) #4218

Open lukas-braune opened 1 month ago

lukas-braune commented 1 month ago

Current Behavior

Dependency-Track currently does not issue a warning when machine-readable identifiers, such as CPE or purl, are missing for third-party components. This absence of identifiers means that no security vulnerabilities can be identified for these components, potentially leaving projects exposed to untracked risks.

Proposed Behavior

Dependency-Track should provide a visual hint or warning when a component lacks either a CPE or purl identifier. This feature could be configurable, allowing users to enable or disable the warning based on their needs. The warning will help users quickly identify components that may not be fully analyzed for security vulnerabilities.

Checklist

rkg-mm commented 1 month ago

This could probably easiest done via a new policy that triggers on such components?

lukas-braune commented 1 month ago

@rkg-mm I like that suggestion. Moreover, it would enable users to easily leverage the existing alerting mechanism.