Checks/Aws/Test-VpcFlowLogsEnabled.ps1
|
function Test-VpcFlowLogsEnabled { <# .SYNOPSIS VPC flow logs are enabled .DESCRIPTION **AWS VPCs** have **Flow Logs** configured to capture IP traffic for their network interfaces and deliver records to a logging destination. VPCs lacking an active flow log configuration are highlighted. .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: vpc_flow_logs_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check vpc_flow_logs_enabled for reference.', 'N/A', 'vpc Resources') } |