Skip to content

Return "unknown" when license cannot be found

What does this MR do and why?

This MR updates ::GitLab::LicenseScanning::PackageLicenses.fetch so it returns an unknown license when no corresponding pm_package record can be found in the database for a given component.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #391294 (closed)

Edited by Adam Cohen

Merge request reports

Loading