trustification / trustify

Apache License 2.0
8 stars 15 forks source link

Refactor SBOM ingestion to remove duplicated storage code #386

Closed jcrossley3 closed 1 month ago

jcrossley3 commented 1 month ago

This DRY's up the SBOM ingestion and brings it in line with Advisory ingestion. The ingest_sbom function has been removed. All docs now go through the ingest method of the IngestorService, passing a Format variant used to select an appropriate loader to populate the database after storing the doc.