Checks/Aws/Test-Ec2SecuritygroupAllowIngressFromInternetToTcpPortRedis6379.ps1
|
function Test-Ec2SecuritygroupAllowIngressFromInternetToTcpPortRedis6379 { <# .SYNOPSIS Security group does not allow ingress from 0.0.0.0/0 or ::/0 to Redis TCP port 6379 .DESCRIPTION **EC2 security groups** permitting Internet sources (`0.0.0.0/0` or `::/0`) to `TCP 6379` are identified, indicating Redis is reachable from public networks .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_redis_6379 [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check ec2_securitygroup_allow_ingress_from_internet_to_tcp_port_redis_6379 for reference.', 'N/A', 'ec2 Resources') } |