Add grouped services for atomic scanner criteria

What does this MR do and why?

Add grouped services for atomic scanner criteria

Adds two new services that support atomic scanner rule criteria by grouping scanners with the same attributes and executing batched queries:

  • GroupedFindingsService: returns UUIDs grouped by scanner config
  • GroupedVulnerabilitiesService: returns records grouped by scanner config

Both services fall back to legacy behavior when the atomic_scanner_rule_criteria feature flag is disabled or no scanner configurations are present.

Changelog: added EE: true

References

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.

Related to #584704

Merge request reports

Loading