{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-policy/issues/209","repository_url":"https://api.github.com/repos/Azure/azure-policy","labels_url":"https://api.github.com/repos/Azure/azure-policy/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-policy/issues/209/comments","events_url":"https://api.github.com/repos/Azure/azure-policy/issues/209/events","html_url":"https://github.com/Azure/azure-policy/issues/209","id":365630830,"node_id":"MDU6SXNzdWUzNjU2MzA4MzA=","number":209,"title":"Alias request: Microsoft.Sql/servers/virtualNetworkRules","user":{"login":"dootdootbeep","id":24483326,"node_id":"MDQ6VXNlcjI0NDgzMzI2","avatar_url":"https://avatars2.githubusercontent.com/u/24483326?v=4","gravatar_id":"","url":"https://api.github.com/users/dootdootbeep","html_url":"https://github.com/dootdootbeep","followers_url":"https://api.github.com/users/dootdootbeep/followers","following_url":"https://api.github.com/users/dootdootbeep/following{/other_user}","gists_url":"https://api.github.com/users/dootdootbeep/gists{/gist_id}","starred_url":"https://api.github.com/users/dootdootbeep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dootdootbeep/subscriptions","organizations_url":"https://api.github.com/users/dootdootbeep/orgs","repos_url":"https://api.github.com/users/dootdootbeep/repos","events_url":"https://api.github.com/users/dootdootbeep/events{/privacy}","received_events_url":"https://api.github.com/users/dootdootbeep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-01T20:31:52Z","updated_at":"2018-10-05T17:48:32Z","closed_at":null,"author_association":"NONE","body":"**Scenario**\r\n\r\nEnhance the security of Azure SQL by requiring newly deployed server instances to use Virtual Network Service Endpoints. \r\n\r\n**Definition**\r\n```json\r\n{\r\n    \"properties\": {\r\n        \"displayName\": \"Prevent deployment of Azure SQL without Virtual Network Service Endpoints\",\r\n        \"description\": \"Enforce use of Virtual Netework Service Endpoint for Azure SQL by ensure the deployment contains a virtualNetworkRule\",\r\n        \"parameters\": {},\r\n        \"policyRule\": {\r\n            \"if\": {\r\n                \"allOf\": [\r\n                    {\r\n                        \"field\": \"type\",\r\n                        \"equals\": \"Microsoft.Sql/servers/virtualNetworkRules\"\r\n                    },\r\n                    {\r\n                        \"field\": \"Microsoft.Sql/servers/virtualNetworkRules/[*]\",\r\n                        \"exists\": \"false\"\r\n                    }\r\n                ]\r\n            },\r\n            \"then\": {\r\n                \"effect\": \"deny\"\r\n            }\r\n        }\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/Azure/azure-policy/issues/comments/427446396","html_url":"https://github.com/Azure/azure-policy/issues/209#issuecomment-427446396","issue_url":"https://api.github.com/repos/Azure/azure-policy/issues/209","id":427446396,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzQ0NjM5Ng==","user":{"login":"RichShillingtonMSFT","id":43886859,"node_id":"MDQ6VXNlcjQzODg2ODU5","avatar_url":"https://avatars0.githubusercontent.com/u/43886859?v=4","gravatar_id":"","url":"https://api.github.com/users/RichShillingtonMSFT","html_url":"https://github.com/RichShillingtonMSFT","followers_url":"https://api.github.com/users/RichShillingtonMSFT/followers","following_url":"https://api.github.com/users/RichShillingtonMSFT/following{/other_user}","gists_url":"https://api.github.com/users/RichShillingtonMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/RichShillingtonMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichShillingtonMSFT/subscriptions","organizations_url":"https://api.github.com/users/RichShillingtonMSFT/orgs","repos_url":"https://api.github.com/users/RichShillingtonMSFT/repos","events_url":"https://api.github.com/users/RichShillingtonMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/RichShillingtonMSFT/received_events","type":"User","site_admin":false},"created_at":"2018-10-05T17:48:32Z","updated_at":"2018-10-05T17:48:32Z","author_association":"NONE","body":"This will be needed in Azure MAG as well."}}
{"actor":{"display_login":"RichShillingtonMSFT"}}