-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Copy pathASC_MissingSystemUpdates_Audit.json
57 lines (57 loc) · 1.56 KB
/
ASC_MissingSystemUpdates_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
{
"properties": {
"displayName": "[Deprecated]: System updates should be installed on your machines",
"policyType": "BuiltIn",
"mode": "All",
"description": "Missing security system updates on your servers will be monitored by Azure Security Center as recommendations",
"metadata": {
"version": "4.1.0-deprecated",
"category": "Security Center",
"deprecated": true
},
"version": "4.1.0",
"parameters": {
"effect": {
"type": "string",
"defaultValue": "Disabled",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
}
}
},
"policyRule": {
"if": {
"field": "type",
"in": [
"Microsoft.Compute/virtualMachines",
"Microsoft.ClassicCompute/virtualMachines"
]
},
"then": {
"effect": "[parameters('effect')]",
"details": {
"type": "Microsoft.Security/assessments",
"name": "4ab6e3c5-74dd-8b35-9ab9-f61b30875b27",
"existenceCondition": {
"field": "Microsoft.Security/assessments/status.code",
"in": [
"NotApplicable",
"Healthy"
]
}
}
}
},
"versions": [
"4.1.0",
"4.0.0"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60",
"name": "86b3d65f-7626-441e-b690-81a8b71cff60"
}