Add dependency management scheduler worker

What does this MR do and why?

Wires the DependencyManagement::SecurityUpdate::SchedulerService (introduced in !224996 (merged)) into the event-driven pipeline by introducing a new Sidekiq worker that subscribes to the existing Sbom::VulnerabilitiesCreatedEvent. This event is already fired by Security::VulnerabilityScanning::CreateVulnerabilityService after vulnerabilities are created from SBOM injection, making it the correct trigger point - vulnerabilities are guaranteed to be persisted before the scheduler runs.

References

Related issue: Auto-Remediation with automatic bumping of depe... (gitlab-org#17403) • Oscar Tovar • 18.10 • Needs attention

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 Zamir Martins

Merge request reports

Loading