Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finding Attributed On date is not retained when cloning projects #3488

Conversation

sebD
Copy link
Contributor

@sebD sebD commented Feb 22, 2024

Adds possibility to enter an attribution date value when adding a vulnerability to a project, used in cloning operation.

Description

attribution dates where not passed on when cloning a project. This lead to all cloned vulnerabilities having attribution dates equals to that of the action performed. The attribution date has been added to all necessary methods and can be nullified if not needed.

Addressed Issue

Fixes #3464

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have added corresponding update logic
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

…nerability to a project, used in cloning operation.

Fixes DependencyTrack#3464

Signed-off-by: Sebastien Delcoigne <sebastien.delcoigne@gmail.com>
@nscuro nscuro added this to the 4.11 milestone Feb 22, 2024
@nscuro nscuro added the defect Something isn't working label Feb 22, 2024
Copy link
Member

@nscuro nscuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sebD!

@nscuro nscuro merged commit ee8ac9a into DependencyTrack:master Feb 22, 2024
9 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
defect Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Finding Attributed On date is not retained when cloning projects
2 participants