Skip to content

Commit

Permalink
More details on foreign hosted zones
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdabbad00 committed Nov 8, 2021
1 parent c4ebeea commit b2e8e39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shared/audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,8 @@ def audit_route53(findings, region):
if hosted_zone.get("Owner", {}).get("OwningAccount", "") != "":
if hosted_zone["Owner"]["OwningAccount"] != region.account.local_id:
findings.add(
Finding(region, "FOREIGN_HOSTED_ZONE", hosted_zone)
Finding(region, "FOREIGN_HOSTED_ZONE", hosted_zone,
resource_datails={"vpc_id": vpc, "vpc_regions": region_name})
)


Expand Down

0 comments on commit b2e8e39

Please sign in to comment.