Skip to content

Fix passing project default branch to vulnerability header

What does this MR do?

This merge request correctly passes the project the default branch to the vulnerability page header. The vulnerability object stores the project default branch in the project_default_branch property rather than in the default_branch_name property.

Screenshots

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

Merge request reports