mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 21:11:53 +00:00
fix(ec2): add default value to Name key for image information (#5747)
This commit is contained in:
committed by
GitHub
parent
c0659f712a
commit
622bc48688
@@ -357,7 +357,7 @@ class EC2(AWSService):
|
||||
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"),
|
||||
|
||||
Reference in New Issue
Block a user