mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 06:45:08 +00:00
fix(route53): handle empty Records in Zones (#2351)
This commit is contained in:
@@ -74,7 +74,9 @@ class Route53:
|
||||
type=record["Type"],
|
||||
records=[
|
||||
resource_record["Value"]
|
||||
for resource_record in record["ResourceRecords"]
|
||||
for resource_record in record.get(
|
||||
"ResourceRecords", []
|
||||
)
|
||||
],
|
||||
is_alias=True if "AliasTarget" in record else False,
|
||||
hosted_zone_id=zone_id,
|
||||
|
||||
Reference in New Issue
Block a user