Checks/Aws/Test-ElbLoggingEnabled.ps1
|
function Test-ElbLoggingEnabled { <# .SYNOPSIS Elastic Load Balancer has access logs to S3 configured .DESCRIPTION **Elastic Load Balancers** have **access logs** configured to deliver request metadata (client IPs, paths, status, TLS details) to **Amazon S3** .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: elb_logging_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check elb_logging_enabled for reference.', 'N/A', 'elb Resources') } |