mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-16 08:24:15 +00:00
fix(ec2): add default value to Name key for image information (#5754)
Co-authored-by: Rubén De la Torre Vico <rubendltv22@gmail.com>
This commit is contained in:
1 parent
f330d713f6
commit
786e1f890c
1 file changed
+1
-1
@@ -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