Skip to content

Add sbom_source_packages table

Adam Cohen requested to merge 427095-add-sbom_occurrence_properties-table into master

What does this MR do and why?

This MR adds a new table sbom_source_packages and links it to the sbom_occurrences table via the sbom_occurrences. source_package_id column.

The sbom_source_packages table contains the name (aka the source_package_name) for an sbom_occurrence, and also the purl_type in order to make lookups faster. See this discussion for details on why we decided to create an additional table to store this extra dta.

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

How to set up and validate locally

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

Related to Ingest source package name from Trivy SBOM comp... (#427095 - closed) • Tetiana Chupryna • 16.9 • On track

Edited by Adam Cohen

Merge request reports