Skip to content

Ability scopes and infra availability checks for Advanced VM using ES

What does this MR do and why?

Adds ability scopes for Advanced Vulnerability Management using ES features for the MVC for the frontend so that it can make the GraphQL API calls with the right argument.

To be used by #532703 (closed) and #532716 (closed)

Screenshots or screen recordings

Project Vulnerability report:

Before After
Screenshot_2025-04-27_at_5.06.56_PM Screenshot_2025-04-27_at_5.00.39_PM

Group Vulnerability report:

Before After
Screenshot_2025-04-27_at_5.09.35_PM Screenshot_2025-04-27_at_4.58.28_PM

How to set up and validate locally

  1. Enable FF in Feature.enable(: advanced_vulnerability_management) in Rails console.
  2. Visit the vulnerability reports page of a project and in developer console on browser run gon.abilities.accessAdvancedVulnerabilityManagement and it should return true.
  3. Visit the vulnerability reports page of a project and in developer console on browser run gon.abilities.accessAdvancedVulnerabilityManagement and it should return true.

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 #536248 (closed)

Edited by Bala Kumar

Merge request reports

Loading