Checks/Azure/Test-CosmosdbAccountUsePrivateEndpoints.ps1
|
function Test-CosmosdbAccountUsePrivateEndpoints { <# .SYNOPSIS Cosmos DB account uses private endpoint connections .DESCRIPTION **Azure Cosmos DB accounts** are assessed for **private endpoint connections** that keep data-plane traffic on private IPs within authorized virtual 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: cosmosdb_account_use_private_endpoints [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check cosmosdb_account_use_private_endpoints for reference.', 'N/A', 'cosmosdb Resources') } |