/
DataAtRestEncrypted_Audit.json
56 lines (56 loc) · 1.73 KB
/
DataAtRestEncrypted_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
{
"properties": {
"displayName": "[Deprecated]: Azure Stack HCI systems should have encrypted volumes",
"policyType": "BuiltIn",
"mode": "All",
"description": "This policy is deprecated because it targets security settings resource. Instead of continuing to use this policy, we recommend you instead assign this replacement policy with policy ID /providers/Microsoft.Authorization/policyDefinitions/ee8ca833-1583-4d24-837e-96c2af9488a4. Learn more about policy definition deprecation at aka.ms/policydefdeprecation.",
"metadata": {
"version": "1.1.0-deprecated",
"category": "Stack HCI",
"deprecated": true
},
"version": "1.1.0",
"parameters": {
"effect": {
"type": "String",
"defaultValue": "Disabled",
"allowedValues": [
"Audit",
"Disabled"
],
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
}
}
},
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.AzureStackHCI/clusters/securitySettings"
},
{
"not": {
"field": "Microsoft.AzureStackHCI/clusters/securitySettings/securityComplianceStatus.dataAtRestEncrypted",
"in": [
"Compliant",
"Pending"
]
}
}
]
},
"then": {
"effect": "[parameters('effect')]"
}
},
"versions": [
"1.1.0",
"1.0.0-PREVIEW"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/ae95f12a-b6fd-42e0-805c-6b94b86c9830",
"name": "ae95f12a-b6fd-42e0-805c-6b94b86c9830"
}