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

[FIX] Wrong Endpoint 'Date Discovered' #6079

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

X0x1RG9f
Copy link
Contributor

When creating a new Finding in the past for an Endpoint (new or already existing one), the 'Date Discovered' of this Endpoint (for the corresponding Finding) is always set to the today's date as defaulted in models.py files.
This date should be fixed to the same value than the Finding's date, because the 'Date Discovered' is linked between the Endpoint and the Finding

When creating a new Finding in the past for an Endpoint (new or already existing one), the 'Date Discovered' of this Endpoint (for the corresponding Finding) is always set to the today's date as defaulted in models.py files.
This date should be fixed to the same value than the Finding's date, because the 'Date Discovered' is linked between the Endpoint and the Finding
Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

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

Approved

@mtesauro mtesauro merged commit 70f50cb into DefectDojo:dev Mar 25, 2022
@X0x1RG9f X0x1RG9f deleted the X0x1RG9f-fix4 branch August 16, 2022 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants