Checks/Azure/Test-AisearchServiceNotPubliclyAccessible.ps1
|
function Test-AisearchServiceNotPubliclyAccessible { <# .SYNOPSIS AI Search service has public network access disabled .DESCRIPTION **Azure AI Search service** limits its data-plane endpoint by disabling **public network access**. This evaluation checks whether the service only permits connections via **private endpoints** or narrowly scoped, explicitly allowed sources. .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: aisearch_service_not_publicly_accessible [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check aisearch_service_not_publicly_accessible for reference.', 'N/A', 'aisearch Resources') } |