Skip to content

Fallback to matching policy on license name

mo khan requested to merge 208723-qa-specs into master

What does this MR do?

This change fixes a defect that occurs when self managed installations do not have outbound network access to fetch the latest SPDX catalogue. When this occurs, the software_licenses table contains a nil value in the spdx_identifier column for each row in the table.

The change in this MR allows for falling back to matching policy with license based on license name when an spdx identifier for the software license is not available.

This change also fixes the following QA tests:

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 mo khan

Merge request reports

Loading