Skip to content
Snippets Groups Projects

Direct Transfer - Import Vulnerability identifiers

What does this MR do and why?

This is a follow-up of Direct Transfer - Handle Vulnerabilities (!171684 - merged) • Meir Benayoun • 17.7

The current MR is importing the vulnerability identifiers as well.

This code change adds the identifiers relation to the vulnerability_finding relation in the RelationFactory module. This means that when importing or exporting a project, the identifiers relation will also be included.

In addition, it's fixing the computation of the vulnerability uuid by using the correct primary_identifier_fingerprint.

References

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Those 2 screenshots are of the original project (the one that is exported and then imported): image image

Before After
image image image image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Export a project containing vulnerabilities
  2. Import the project
  3. Look at the Vulnerability Report of the imported project

Related to #510763 (closed)

Edited by Meir Benayoun

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading