From 8b76ffa237d3036699a68930a69c06051cc9feb3 Mon Sep 17 00:00:00 2001 From: mrizzi Date: Mon, 3 Nov 2025 16:21:12 +0100 Subject: [PATCH] feat: enable get_sbom_advisories (TC-3139) Signed-off-by: mrizzi --- scenarios/full-20250604.json5 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scenarios/full-20250604.json5 b/scenarios/full-20250604.json5 index 4a93b75..07a15d2 100644 --- a/scenarios/full-20250604.json5 +++ b/scenarios/full-20250604.json5 @@ -1,13 +1,15 @@ { "get_sbom": "sha256:720e4451b0c13f028e55e48b9d522fee8a20124b41379c99a939656247164447", "sbom_by_package": "pkg:maven/io.quarkus/quarkus-smallrye-metrics@2.13.8.Final-redhat-00004?type=jar&repository_url=https%3a%2f%2fmaven.repository.redhat.com%2fga%2f", + // This is not the worst SBOM to test the "/api/v2/sbom/{sbom_id}/advisory" endpoint with + // but some performance improvements have been done and the performance must be kept monitored. + // The final value is "sha256:46d61509a931c0ecc19fe0c97728b561d7068cd337084d8cbe5bd8c7174f6ea5" + "get_sbom_advisories": "sha256:87fd06bc18fc0ea0c2e651ee7b86e5429443cfd2702b344f9d7b8304c0d2d9b2", // FIXME: Disabled due to bad performance, blocks the whole test - "get_sbom_advisories": null, "get_sbom_packages": null, "get_sbom_related": null, "get_vulnerability": null, // for get_sbom_packages and get_sbom_related we must use the UUID - // "get_sbom_advisories": "sha256:f293eb898192085804419f9dd40a738f20d67dd81846e88c6720f692ec5f3081", // "get_sbom_packages": "0195baea-42e3-7842-a0e3-4c7874263954", // "get_sbom_related": "0195baea-42e3-7842-a0e3-4c7874263954", // "get_vulnerability": "CVE-2023-39325",