mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 22:37:55 -05:00
Move `route53resolver` from NOT_COVERED to NAMESPACES in regen_iam_request_resources.py, so Route 53 Resolver requests are checked on the resources they name instead of `*`: a resolver rule, an endpoint or a firewall domain list by its id, as <type>/<id>, the ARN the service mints, and a tag call on its ResourceArn. The reference's DNSSEC configuration format takes a ResourceId, which the request gives as the VPC's id, so the DNSSEC calls are checked under the VPC's id. A member whose botocore pattern is another service's ARN now holds nothing of the namespace, read where every rule first reads the request's members: CreateOutpostResolver's OutpostArn, an outposts ARN whose name begins the outpost resolver's, had taken the place of the resolver it makes, which is now checked as outpost-resolver/*. Over the whole table that rule changes this one operation. No other namespace's rows change. A managed firewall domain list, which AWS owns, was checked under the caller's account, though the service gives it an ARN of its own, so a grant on the ARN ListFirewallDomainLists returns was refused. Route 53 Resolver's request-resource lookup now answers a managed list's ARN for its id, which the reader already asks a service for for a resource filled from one member; a custom list stays in the caller's account.