added and updated data factory policies
This commit is contained in:
Родитель
e5ae0ccdc2
Коммит
a762779168
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
|
||||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"policyName": {
|
||||
"value": "Append-DataFactory-IdentityType"
|
||||
},
|
||||
"policyDescription": {
|
||||
"value": "Enforces use of system assigned identity for data factory."
|
||||
},
|
||||
"policyMode": {
|
||||
"value": "All"
|
||||
},
|
||||
"policyParameters": {
|
||||
"value": {}
|
||||
},
|
||||
"policyDefinition": {
|
||||
"value": {
|
||||
"if": {
|
||||
"allOf": [
|
||||
{
|
||||
"field": "type",
|
||||
"equals": "Microsoft.DataFactory/factories"
|
||||
},
|
||||
{
|
||||
"field": "identity.type",
|
||||
"notEquals": "SystemAssigned"
|
||||
}
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"effect": "Append",
|
||||
"details": [
|
||||
{
|
||||
"field": "identity.type",
|
||||
"value": "SystemAssigned"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"policyMetadata": {
|
||||
"value": {
|
||||
"version": "1.0.0",
|
||||
"category": "Data Factory",
|
||||
"preview": false,
|
||||
"deprecated": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"policyName": {
|
||||
"value": "Append-DataFactory-publicNetworkAccess"
|
||||
"value": "Append-DataFactory-PublicNetworkAccess"
|
||||
},
|
||||
"policyDescription": {
|
||||
"value": "Denies public access to data factory."
|
||||
|
@ -20,7 +20,7 @@
|
|||
"allOf": [
|
||||
{
|
||||
"field": "type",
|
||||
"equals": "Microsoft.DataFactory/factories/integrationRuntimes"
|
||||
"equals": "Microsoft.DataFactory/factories"
|
||||
},
|
||||
{
|
||||
"field": "Microsoft.DataFactory/factories/publicNetworkAccess",
|
||||
|
@ -42,7 +42,7 @@
|
|||
"policyMetadata": {
|
||||
"value": {
|
||||
"version": "1.0.0",
|
||||
"category": "Synapse",
|
||||
"category": "Data Factory",
|
||||
"preview": false,
|
||||
"deprecated": false
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче