Check provider logo

AI Search service has public network access disabled

aisearch_service_not_publicly_accessible

Severityhigh
Serviceaisearch
by Prowler

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.

Risk

Internet-reachable search endpoints impact CIA:

  • Confidentiality: unauthorized queries reveal indexed data/metadata
  • Integrity: stolen admin/query keys allow index changes or deletions
  • Availability: abuse and scanning drive throttling and outages
Run this check with Prowler CLI

prowler azure --checks aisearch_service_not_publicly_accessible

Recommendation

Set Public network access: Disabled. Prefer Private Link and restrict any residual exposure to specific sources only. Use least privilege with Microsoft Entra ID RBAC instead of keys. Apply defense in depth with IP rules/trusted services, enable logs, and review access lists regularly.

Remediation

CLI

az search service update --name <service_name> --resource-group <resource_group_name> --public-access disabled

Native IaC
Terraform
Other
  1. In the Azure portal, open your AI Search service
  2. Go to Settings > Networking
  3. Under Public network access, select Disabled
  4. Click Save
  5. Wait a few minutes and re-run the check

Source Code

Resource Type

microsoft.search/searchservices

References