Gallery › Data Factory › Azure built-in policies
[Preview]: Azure Data Factory pipelines should only communicate with allowed domains
Doesn't convert yet Policy Deny Disabled Mode Microsoft.DataFactory.Data Version 1.0.0-preview Preview
To prevent data & token exfiltration, set the domains that Azure Data Factory should be allowed to communicate with. Note: While in public preview, the compliance for this policy is not reported, & for policy to be applied to Data Factory, please enable outbound rules functionality in the ADF studio. For more information, visit https://aka.ms/data-exfiltration-policy.
ConvertTo-Bylaw can't convert this policy yet:
- BYL6002 Its mode, Microsoft.DataFactory.Data, is a resource provider mode, which language version 1.0 doesn't support.
Azure Policy JSONFactory_OutboundTraffic_Audit.json · 63 lines
{
"properties": {
"displayName": "[Preview]: Azure Data Factory pipelines should only communicate with allowed domains",
"policyType": "BuiltIn",
"mode": "Microsoft.DataFactory.Data",
"description": "To prevent data & token exfiltration, set the domains that Azure Data Factory should be allowed to communicate with. Note: While in public preview, the compliance for this policy is not reported, & for policy to be applied to Data Factory, please enable outbound rules functionality in the ADF studio. For more information, visit https://aka.ms/data-exfiltration-policy.",
"metadata": {
"version": "1.0.0-preview",
"category": "Data Factory",
"preview": true
},
"version": "1.0.0-preview",
"parameters": {
"effect": {
"type": "String",
"metadata": {
"displayName": "Effect",
"description": "'Deny' blocks the communication with untrusted domains during execution of pipeline."
},
"allowedValues": [
"Deny",
"Disabled"
],
"defaultValue": "Deny"
},
"allowedDomainNames": {
"type": "Array",
"metadata": {
"displayName": "Allowed domain names",
"description": "The list of allowed domain names."
}
}
},
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.DataFactory.Data/factories/outboundTraffic"
},
{
"count": {
"field": "Microsoft.DataFactory.Data/factories/outboundTraffic/properties.domainNames[*]",
"where": {
"field": "Microsoft.DataFactory.Data/factories/outboundTraffic/properties.domainNames[*]",
"notIn": "[parameters('allowedDomainNames')]"
}
},
"greater": 0
}
]
},
"then": {
"effect": "[parameters('effect')]"
}
},
"versions": [
"1.0.0-PREVIEW"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/3d02a511-74e5-4dab-a5fd-878704d4a61a",
"name": "3d02a511-74e5-4dab-a5fd-878704d4a61a"
}Source: built-in-policies/policyDefinitions/Data Factory/Factory_OutboundTraffic_Audit.json in Azure/azure-policy, under the MIT licence.
Bylaw