π‘οΈ Azure Log Analytics Workspace public network access is not disabledπ’
- Contextual name: π‘οΈ Log Analytics Workspace public network access is not disabledπ’
- ID:
/ce/ca/azure/log-analytics/workspace-public-network-access - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Statsβ
not available
Logicβ
- π§ prod.logic.yamlπ’
Descriptionβ
Descriptionβ
A Log Analytics workspace accepts ingestion and queries from any network, or only from networks connected through an Azure Monitor Private Link Scope (AMPLS). The Allow public network access for ingestion and Allow public network access for queries settings select between them; each is Enabled (Yes), Disabled (No), or SecuredByPerimeter. Prerequisites: Link the workspace to an Azure Monitor Private Link Scope reached through a private endpoint with private DNS from every network whose agents, clients, or users send data to or query it.
Rationaleβ
With public access enabled, the workspace answers queries and accepts ingestion from any internet-connected client that holds a valid credential. A stolen credential therefore exposes the security evidence collected in the workspace to bulk reading from anywhere, and lets an attacker write fabricated records into it, with no network boundary behind authentication to contain either.
Auditβ
This policy marks an Azure Log Analytics Workspace as
INCOMPLIANTif either public network access setting isEnabledorSecuredByPerimeter.... see more
Remediationβ
Remediationβ
Link the workspace to an Azure Monitor Private Link Scope with a private endpoint and working private DNS for every required client before disabling public access. Clients outside those networks can lose ingestion or query access, including integrations that cannot use Private Link.
In Log Analytics workspaces > Network Isolation, set public network access for both ingestion and queries to No. Alternatively:
az monitor log-analytics workspace update --resource-group {{resource-group}} --workspace-name {{workspace-name}} --public-network-access-for-ingestion Disabled --public-network-access-for-query DisabledVerify both settings are
Disabledand test ingestion and queries from each required network. If a required client loses access, restore its prior access setting while correcting Private Link connectivity.
policy.yamlβ
Linked Framework Sectionsβ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| πΌ CIS Azure v7.0.0 β πΌ 6.1.6 Ensure that 'Public Network Access' for Ingestion and Queries is 'Disabled' for Log Analytics Workspaces (Automated) | 1 | no data | |||
| πΌ Cloudaware Framework β πΌ Network Exposure | 144 | no data |