Skip to content

Provide default values for injections

What does this MR do?

This MR simply makes vulnerability_report injections optional by introducing a default value. We're making this change because the current structure forces us to add undefined values in the provide section whenever we need to mount the vulnerability-report component.

Screenshots (strongly suggested)

There are no visual changes.

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

Related to #300753 (closed)

Merge request reports