Add service to create vulnerabilities for continuous scanning
What does this MR do and why?
The create vulnerability service takes a single report finding and transforms it
so that it can be inserted as a vulnerability. This will be used in the context
of continuous vulnerability scanning, where GitLab will begin to continuous
monitor existing software components for new vulnerabilities. The new
CreateVulnerabilityService
class has some critical differences from the
IngestReportService
. Mainly, the new class, does not require any
Security::Findings
, and it will only create new vulnerabilities.
Relates to #371065 (closed)
MR Series
The following MRs are all related, and set up in the following order.
├ master
├ ο Add vulnerability scanning data objects (!129307 - merged)
├ ο Add service to create vulnerabilities for conti... (!128170 - merged)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.