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 diff --git a/tools/devsecops_engine_tools/engine_sca/engine_container/test/infrastructure/driven_adapters/prisma_cloud/test_prisma_cloud_manager_scan.py b/tools/devsecops_engine_tools/engine_sca/engine_container/test/infrastructure/driven_adapters/prisma_cloud/test_prisma_cloud_manager_scan.py index 7ce75f72..240165ee 100755 --- a/tools/devsecops_engine_tools/engine_sca/engine_container/test/infrastructure/driven_adapters/prisma_cloud/test_prisma_cloud_manager_scan.py +++ b/tools/devsecops_engine_tools/engine_sca/engine_container/test/infrastructure/driven_adapters/prisma_cloud/test_prisma_cloud_manager_scan.py @@ -238,7 +238,7 @@ def test_write_image_base_success(): "PRISMA": [ { "id": "CVE-1234-5678", - "source_images": ["python:3.9"] + "x86.image.name": ["python:3.9"] } ] }