From 1e19e783f6b7dfc16b01e84f6780ac243e45b2ac Mon Sep 17 00:00:00 2001 From: Santiago Arboleda Date: Wed, 18 Dec 2024 10:21:48 -0500 Subject: [PATCH] write image base --- .../driven_adapters/prisma_cloud/prisma_cloud_manager_scan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/devsecops_engine_tools/engine_sca/engine_container/src/infrastructure/driven_adapters/prisma_cloud/prisma_cloud_manager_scan.py b/tools/devsecops_engine_tools/engine_sca/engine_container/src/infrastructure/driven_adapters/prisma_cloud/prisma_cloud_manager_scan.py index e895a81c..28072396 100755 --- a/tools/devsecops_engine_tools/engine_sca/engine_container/src/infrastructure/driven_adapters/prisma_cloud/prisma_cloud_manager_scan.py +++ b/tools/devsecops_engine_tools/engine_sca/engine_container/src/infrastructure/driven_adapters/prisma_cloud/prisma_cloud_manager_scan.py @@ -89,7 +89,7 @@ def _write_image_base(self, result_file, base_image, exclusions_data): for exclusion in prisma_exclusions: if ( vulnerability.get("id") == exclusion.get("id") and - any(image.startswith(base_image) for image in exclusion.get("source_images", [])) + any(image.startswith(base_image) for image in exclusion.get("x86.image.name", [])) ): vulnerability["baseImage"] = base_image modified = True