From 01d6e213f06b51c9c809e1d6eeef32776f508bf0 Mon Sep 17 00:00:00 2001 From: tester Date: Fri, 10 Jan 2025 08:21:31 +0800 Subject: [PATCH] feat(RELEASE-1296): rh-advisories e2e test should have a cve Signed-off-by: tester --- tests/release/pipelines/rh_advisories.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/release/pipelines/rh_advisories.go b/tests/release/pipelines/rh_advisories.go index 5ca54f2a2..de1d6d34a 100644 --- a/tests/release/pipelines/rh_advisories.go +++ b/tests/release/pipelines/rh_advisories.go @@ -203,6 +203,12 @@ func createADVSReleasePlan(advsReleasePlanName string, devFw framework.Framework "solution": "some solution", "synopsis": "test synopsis", "topic": "test topic", + "cves": []map[string]interface{}{ + { + "key": "CVE-2024-8260", + "component" : advsComponentName, + }, + }, }, }) Expect(err).NotTo(HaveOccurred()) @@ -241,7 +247,7 @@ func createADVSReleasePlanAdmission(advsRPAName string, managedFw framework.Fram "product_name": "test product", "product_stream": "rhtas-tp1", "product_version": "v1.0", - "type": "RHBA", + "type": "RHSA", }, "sign": map[string]interface{}{ "configMapName": "hacbs-signing-pipeline-config-redhatbeta2",