Skip to content

Add AutoFix Indicator to the Vulnerability Report Page

Jannik Lehmann requested to merge auto-fix-light-bulb into master

What does this MR do?

This Merge Request solves 258803.

It introduces an Auto-fix solution available Indicator to the vulnerability Report.

NOTE: The Backend ticket is not yet picked up, this feature is currently hidden behind a flag to reproduce on your local machine:

  1. enter rails console by entering rails c in you gitlab directory
  2. run Feature.enable(:secure_vulnerability_autofix_indicator)
  3. apply the attached patch

autoFixIndicatorGraphQLClient.patch

Screenshots (strongly suggested)

Screenshot_2020-11-20_at_16.58.33

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Jannik Lehmann

Merge request reports