Skip to content

Fix OwaspTop10 query for group level vulnerability report

Savas Vedova requested to merge 458447-fix-group-level-owasp into master

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

image

How to set up and validate locally

  1. Enable feature flag: echo "Feature.enable(:group_level_vulnerability_report_grouping)" | rails c
  2. Enable the second feature flag: echo "Feature.enable(:vulnerability_owasp_top_10_group)" | rails c
  3. Go to a group with vulnerabilities
  4. Validate that the counts match the number of vulnerabilities displayed for the owasp top 10 grouping

Related to #458447 (closed)

Merge request reports

Loading