-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
SecuredCoreComplianceAtCluster_Audit.json
65 lines (65 loc) · 2.04 KB
/
SecuredCoreComplianceAtCluster_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
{
"properties": {
"displayName": "[Preview]: Azure Stack HCI servers should meet Secured-core requirements",
"policyType": "BuiltIn",
"mode": "Indexed",
"description": "Ensure that all Azure Stack HCI servers meet the Secured-core requirements. To enable the Secured-core server requirements: 1. From the Azure Stack HCI clusters page, go to Windows Admin Center and select Connect. 2. Go to the Security extension and select Secured-core. 3. Select any setting that is not enabled and click Enable.",
"metadata": {
"version": "1.0.0-preview",
"category": "Stack HCI",
"preview": true
},
"version": "1.0.0-preview",
"parameters": {
"effect": {
"type": "String",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"Audit",
"Disabled",
"AuditIfNotExists"
],
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
}
}
},
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.AzureStackHCI/clusters"
},
{
"field": "Microsoft.AzureStackHCI/clusters/reportedProperties.clusterVersion",
"greater": "10.0.20350"
}
]
},
"then": {
"effect": "[parameters('effect')]",
"details": {
"type": "Microsoft.AzureStackHCI/clusters/securitySettings",
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.AzureStackHCI/clusters/securitySettings/securityComplianceStatus.securedCoreCompliance",
"in": [
"Compliant",
"Pending"
]
}
]
}
}
}
},
"versions": [
"1.0.0-PREVIEW"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/5e6bf724-0154-49bc-985f-27b2e07e636b",
"name": "5e6bf724-0154-49bc-985f-27b2e07e636b"
}