Add vulnerability_finding_due_dates table to store remediation due dates
What does this MR do and why?
Add vulnerability_finding_due_dates to store remediation due dates for vulnerability findings.
Changes
-
Create
vulnerability_finding_due_datestable with:-
vulnerability_occurrence_id(unique, FK ->vulnerability_occurrences,ON DELETE CASCADE) project_iddue_date- timestamps
-
-
Add indexes on
vulnerability_occurrence_idandproject_id -
Configure Loose Foreign Key cleanup for
project_id → projects -
Add
Vulnerabilities::FindingDueDatemodel andhas_one :finding_due_dateassociation onVulnerabilities::Finding -
Add factory and model specs
-
Include association in import/export configuration
References
Issue: https://gitlab.com/gitlab-org/gitlab/-/work_items/592222+
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Ugo Nnanna Okeadu