Skip CS components when parsing licenses from SBOM
What does this MR do and why?
Skip CS components when parsing licenses from SBOM. CS purl type packages have not yet been tested for license scanning support, enabling this could cause undesired behavior for customers.
Changelog: changed
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
License is reported as MIT:
|
License is reported as unknown:
|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- clone https://gitlab.com/gitlab-org/secure/tests/olivier/os-package-licenses/ on your gdk
- let the pipeline run on the default branch
- all licenses for OS components should be unknown
Edited by Olivier Gonzalez

