Skip to content

Dependency-Track Hash Code computation: Add severity in the hash code calculation of the finding #8778

@kmouzoul23

Description

@kmouzoul23

Problem description
At the moment severity is not part of the Unique Hash code for findings found via Dependency Track. This configuration leads to misleading information within Defect Dojo when findings CVSS score changes.
DefectDojo/django-DefectDojo/tree/master/dojo/settings)
/settings.dist.py:
'Dependency Track Finding Packaging Format (FPF) Export': ['component_name', 'component_version', 'vulnerability_ids']

Steps to reproduce the behavior:

  • Upload a Dependency-Track Report
  • Change the severity of a finding included in the report
  • Reupload this Dependency-Track file to the same engagement
  • View the result (finding with changed severity will be marked as Inactive, Duplicate)

Expected behavior
The duplicate finding (with changed severity) should be considered the active one in Defect Dojo

Deployment method

  • Docker Compose
  • Kubernetes
  • GoDojo

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions