Checks/Aws/Test-Route53DanglingIpSubdomainTakeover.ps1
|
function Test-Route53DanglingIpSubdomainTakeover { <# .SYNOPSIS Route53 A record does not point to a dangling IP address .DESCRIPTION **Route 53 `A` records** (non-alias) that use literal IPs are evaluated for **public AWS addresses** not currently assigned to resources in the account. Entries that match AWS ranges yet lack ownership are identified as potential **dangling IP targets**. .PARAMETER Check CIEMCheck object containing check metadata. #> [CmdletBinding()] [OutputType([PSCustomObject[]])] param( [Parameter(Mandatory)] [CIEMCheck]$Check ) $ErrorActionPreference = 'Stop' # TODO: Implement check logic based on Prowler check: route53_dangling_ip_subdomain_takeover [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check route53_dangling_ip_subdomain_takeover for reference.', 'N/A', 'route53 Resources') } |