diff --git a/prowler/providers/aws/services/ec2/ec2_service.py b/prowler/providers/aws/services/ec2/ec2_service.py index 7ca7b7719f3..dcf49f6066d 100644 --- a/prowler/providers/aws/services/ec2/ec2_service.py +++ b/prowler/providers/aws/services/ec2/ec2_service.py @@ -357,7 +357,7 @@ def _describe_images(self, regional_client): Image( id=image["ImageId"], arn=arn, - name=image["Name"], + name=image.get("Name", None), public=image.get("Public", False), region=regional_client.region, tags=image.get("Tags"),