Add multiple project diffs service

What does this MR do and why?

Wraps the existing project-level analyzer statuses calculations in DiffService with logic to support calculating multiple diffs at once. This capability is required to support the new SettingBasedUpdateService, which processes multiple projects. Calculating and aggregating namespace-level diffs allows us to reuse the existing AncestorUpdateService to propagate changes up to the projects’ ancestors.

This change is the second part of a series of MRs (1,3) that add ProjectSecuritySetting - related fields (secret_push_protection and container_scanning_for_registry) to the new project-level analyzer statuses. These statuses will be used for the Security Inventory feature.

Changelog: added
EE: true

Related issue

Namespace level statuses for DB based settings (#548281 - closed) • rossfuhrman, Gal Katz • 18.2

Edited by Gal Katz

Merge request reports

Loading