Fix OwaspTop10 query for group level vulnerability report
What does this MR do and why?
Fixes the GraphQL query for the Group Level OWASP Top 10 grouping.
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
How to set up and validate locally
- Enable feature flag:
echo "Feature.enable(:group_level_vulnerability_report_grouping)" | rails c
- Enable the second feature flag:
echo "Feature.enable(:vulnerability_owasp_top_10_group)" | rails c
- Go to a group with vulnerabilities
- Validate that the counts match the number of vulnerabilities displayed for the owasp top 10 grouping
Related to #458447 (closed)