Skip to content

Deduplication dedupe the oldest vulnerability #11948

Closed as not planned
Closed as not planned
@SeekNHack

Description

@SeekNHack

Be informative
I am running DefectDojo on Docker via Portainer. I set a env var to duplicate my test 'Pen Test' using Unique Id From Tool (that I calculate using a self-made python library to use API). My Unique Id is calculated by: Endpoint (host,port,protocol), IP Address and Vulnerability Title

Bug description
Duplication seems work, but DefectDojo set as "Duplicate" the oldest vulnerability (with a lower id and date) instead of the newest.

Expected behavior
The newest vulnerability is marked as "Duplicated"

Deployment method (select with an X)

  • [x ] Docker Compose
  • Kubernetes
  • GoDojo

Environment information

  • Operating System: Debian GNU/Linux 12 (bookworm)
  • Docker Compose version: 1
  • DefectDojo version (see footer): v. 2.43.3 ( release mode )

Screenshots
In this example, they have same UNIQUE ID FROM TOOLS but some differences about Severity, Date and descriptions. They are in 2 different Engagements.

Image

How can I fix this?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions