Skip to content

Link to vulnerability location URL in the issue

Craig Smith requested to merge sast_relative_broken_links_10435 into master

What does this MR do?

Currently the issue created from a vulnerability is relative. So it's working from gitlab.com, but not from email notifications for example:

[sbt/src/main/scala/example/Main.scala:12](sbt/src/main/scala/example/Main.scala#L12)

This MR changes the link to be the full URL.

[sbt/src/main/scala/example/Main.scala:12](https://gitlab.com/gitlab-org/security-products/tests/sast/blob/master/sbt/src/main/scala/example/Main.scala#L12)

Related to #10435 (closed)

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 Mayra Cabrera

Merge request reports