Skip to content

Commit

Permalink
write image base
Browse files Browse the repository at this point in the history
  • Loading branch information
sarbole committed Dec 18, 2024
1 parent f2ca639 commit 1e19e78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e19e78

Please sign in to comment.