Checks/Aws/Test-KafkaClusterIsPublic.ps1
|
function Test-KafkaClusterIsPublic { <# .SYNOPSIS Kafka cluster is not publicly accessible .DESCRIPTION **Amazon MSK clusters** with broker endpoints **exposed to the public Internet**. Serverless clusters are private by default; provisioned clusters are evaluated for their `public access` configuration. .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: kafka_cluster_is_public [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check kafka_cluster_is_public for reference.', 'N/A', 'kafka Resources') } |