Skip to content

Refactor SBoM ingestion hash lookup

Brian Williams requested to merge bwill/refactor-sbom-post-ingestion into master

What does this MR do and why?

This change removes duplicated hash lookups in each SBoM ingestion task by adding an each_pair method. This method iterates through the return_data of a task and yields the row with its corresponding occurrence_map. It does this by creating a hash index based on the unique_by attributes.

Resolves #439608 (closed)

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.

Edited by Oscar Tovar

Merge request reports