This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
policyExemptions.json
83 lines (83 loc) · 3.04 KB
/
policyExemptions.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
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"type": "String",
"metadata": {
"description": "The name of the policy exemption"
}
},
"scope": {
"type": "String",
"metadata": {
"description": "Use when creating an extension resource at a scope that is different than the deployment scope. Set the value to the full name of the resource to apply the extension resource to."
}
},
"policyAssignmentId": {
"type": "String",
"metadata": {
"description": "The ID of the policy assignment that is being exempted"
}
},
"policyDefinitionReferenceIds": {
"type": "Array",
"metadata": {
"description": "The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition"
},
"defaultValue": []
},
"exemptionCategory": {
"type": "String",
"metadata": {
"description": "The policy exemption category. Possible values are Waiver and Mitigated"
},
"allowedValues": [
"Waiver",
"Mitigated"
]
},
"expiresOn": {
"type": "String",
"metadata": {
"description": "The expiration date and time (in UTC ISO 8601 format yyyy-MM-ddTHH:mm:ssZ) of the policy exemption"
}
},
"displayName": {
"type": "String",
"metadata": {
"description": "The display name of the policy exemption"
}
},
"description": {
"type": "String",
"metadata": {
"description": "The description of the policy exemption"
}
},
"metadata": {
"type": "Object",
"metadata": {
"description": "The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs"
},
"defaultValue": {}
}
},
"resources": [
{
"type": "Microsoft.Authorization/policyExemptions",
"apiVersion": "2020-07-01-preview",
"name": "[parameters('name')]",
"scope": "[parameters('scope')]",
"properties": {
"policyAssignmentId": "[parameters('policyAssignmentId')]",
"policyDefinitionReferenceIds": "[parameters('policyDefinitionReferenceIds')]",
"exemptionCategory": "[parameters('exemptionCategory')]",
"expiresOn": "[parameters('expiresOn')]",
"displayName": "[parameters('displayName')]",
"description": "[parameters('description')]",
"metadata": "[parameters('metadata')]"
}
}
]
}