Checks/Aws/Test-Ec2SecuritygroupAllowIngressFromInternetToTcpPort3389.ps1
|
function Test-Ec2SecuritygroupAllowIngressFromInternetToTcpPort3389 { <# .SYNOPSIS Security group does not allow ingress from the Internet to TCP port 3389 (RDP) .DESCRIPTION **EC2 security groups** restrict **inbound RDP** on `TCP 3389` to trusted sources, avoiding Internet-wide (`0.0.0.0/0`, `::/0`) exposure. .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: ec2_securitygroup_allow_ingress_from_internet_to_tcp_port_3389 [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check ec2_securitygroup_allow_ingress_from_internet_to_tcp_port_3389 for reference.', 'N/A', 'ec2 Resources') } |