Skip to content

Fix security finding comparison method

Mehmet Emin INAC requested to merge fix_security_finding_comparison_method into master

What does this MR do?

This MR fixes the NoMethodError happening because of nil primary_identifiers on Gitlab::Ci::Reports::Security::Finding class.

Related to !38589 (merged)

Note: I didn't add changelog entry since the original MR is merged into master yesterday and not released yet.

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
Edited by Mehmet Emin INAC

Merge request reports