-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
LinkedService_ResourceType_Audit.json
164 lines (164 loc) · 4.42 KB
/
LinkedService_ResourceType_Audit.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"properties": {
"displayName": "Azure Data Factory linked service resource type should be in allow list",
"policyType": "BuiltIn",
"mode": "All",
"description": "Define the allow list of Azure Data Factory linked service types. Restricting allowed resource types enables control over the boundary of data movement. For example, restrict a scope to only allow blob storage with Data Lake Storage Gen1 and Gen2 for analytics or a scope to only allow SQL and Kusto access for real-time queries.",
"metadata": {
"version": "1.1.0",
"category": "Data Factory"
},
"version": "1.1.0",
"parameters": {
"effect": {
"type": "String",
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
},
"allowedValues": [
"Audit",
"Deny",
"Disabled"
],
"defaultValue": "Audit"
},
"allowedLinkedServiceResourceTypes": {
"type": "Array",
"metadata": {
"displayName": "Allowed linked service resource types",
"description": "The list of allowed linked service resource types."
},
"allowedValues": [
"AdlsGen2CosmosStructuredStream",
"AdobeExperiencePlatform",
"AdobeIntegration",
"AmazonRedshift",
"AmazonS3",
"AzureBlobFS",
"AzureBlobStorage",
"AzureDataExplorer",
"AzureDataLakeStore",
"AzureDataLakeStoreCosmosStructuredStream",
"AzureDataShare",
"AzureFileStorage",
"AzureKeyVault",
"AzureMariaDB",
"AzureMySql",
"AzurePostgreSql",
"AzureSearch",
"AzureSqlDatabase",
"AzureSqlDW",
"AzureSqlMI",
"AzureSynapseArtifacts",
"AzureTableStorage",
"Cassandra",
"CommonDataServiceForApps",
"CosmosDb",
"CosmosDbMongoDbApi",
"Db2",
"DynamicsCrm",
"FileServer",
"FtpServer",
"GitHub",
"GoogleCloudStorage",
"Hdfs",
"Hive",
"HttpServer",
"Informix",
"Kusto",
"MicrosoftAccess",
"MySql",
"Netezza",
"Odata",
"Odbc",
"Office365",
"Oracle",
"PostgreSql",
"Salesforce",
"SalesforceServiceCloud",
"SapBw",
"SapHana",
"SapOpenHub",
"SapTable",
"Sftp",
"SharePointOnlineList",
"Snowflake",
"SqlServer",
"Sybase",
"Teradata",
"HDInsightOnDemand",
"HDInsight",
"AzureDataLakeAnalytics",
"AzureBatch",
"AzureFunction",
"AzureML",
"AzureMLService",
"MongoDb",
"GoogleBigQuery",
"Impala",
"ServiceNow",
"Dynamics",
"AzureDatabricks",
"AmazonMWS",
"SapCloudForCustomer",
"SapEcc",
"Web",
"MongoDbAtlas",
"HBase",
"Spark",
"Phoenix",
"PayPal",
"Marketo",
"Responsys",
"SalesforceMarketingCloud",
"Presto",
"Square",
"Xero",
"Jira",
"Magento",
"Shopify",
"Concur",
"Hubspot",
"Zoho",
"Eloqua",
"QuickBooks",
"Couchbase",
"Drill",
"Greenplum",
"MariaDB",
"Vertica",
"MongoDbV2",
"OracleServiceCloud",
"GoogleAdWords",
"RestService",
"DynamicsAX",
"AzureDataCatalog",
"AzureDatabricksDeltaLake"
]
}
},
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.DataFactory/factories/linkedservices"
},
{
"field": "Microsoft.DataFactory/factories/linkedservices/type",
"notIn": "[parameters('allowedLinkedServiceResourceTypes')]"
}
]
},
"then": {
"effect": "[parameters('effect')]"
}
},
"versions": [
"1.1.0"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/6809a3d0-d354-42fb-b955-783d207c62a8",
"name": "6809a3d0-d354-42fb-b955-783d207c62a8"
}