last sync: 2025-Jun-26 17:24:03 UTC

Audit SQL Server virtual network rule

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy b5aca59d-3f7f-45c2-8556-cbb60dec89c7 (1.0.0) to Azure
Display name Audit SQL Server virtual network rule
Id b5aca59d-3f7f-45c2-8556-cbb60dec89c7
Version 1.0.0
Details on versioning
Category SQL
Microsoft Learn
Description Audits the existence of a rule that enables traffic from a SQL Server to a specific subnet.
Mode All
Type Custom Community
Effect Default
AuditIfNotExists
Allowed
AuditIfNotExists, Disabled
RBAC role(s) none
Rule aliases THEN-ExistenceCondition (1)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Sql/servers/virtualNetworkRules/virtualNetworkSubnetId Microsoft.Sql servers/virtualNetworkRules properties.virtualNetworkSubnetId True False
Rule resource types IF (1)
Microsoft.Sql/servers
JSON
EPAC
Deploy policy b5aca59d-3f7f-45c2-8556-cbb60dec89c7 (1.0.0) to Azure