-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
ASC_OSVulnerabilities_Audit.json
55 lines (55 loc) · 1.54 KB
/
ASC_OSVulnerabilities_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
{
"properties": {
"displayName": "Vulnerabilities in security configuration on your machines should be remediated",
"policyType": "BuiltIn",
"mode": "All",
"description": "Servers which do not satisfy the configured baseline will be monitored by Azure Security Center as recommendations",
"metadata": {
"version": "3.1.0",
"category": "Security Center"
},
"version": "3.1.0",
"parameters": {
"effect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"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": "c476dc48-8110-4139-91af-c8d940896b98",
"existenceCondition": {
"field": "Microsoft.Security/assessments/status.code",
"in": [
"NotApplicable",
"Healthy"
]
}
}
}
},
"versions": [
"3.1.0"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15",
"name": "e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15"
}