/
ListRecommendations.json
114 lines (114 loc) · 5.18 KB
/
ListRecommendations.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"parameters": {
"subscriptionId": "subscriptionId",
"$top": 10,
"api-version": "2020-01-01"
},
"responses": {
"200": {
"body": {
"nextLink": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.Advisor/recommendations?api-version=2020-01-01&$top=10&$skiptoken=skiptoken",
"value": [
{
"id": "/resourceUri/providers/Microsoft.Advisor/recommendations/recGUID1",
"name": "recGUID1",
"properties": {
"category": "HighAvailability",
"impact": "Medium",
"impactedField": "Microsoft.Compute/availabilitySets",
"impactedValue": "armavset",
"lastUpdated": "2017-02-24T22:24:43.3216408Z",
"risk": "Warning",
"remediation": {
"httpMethod": "POST",
"uri": "uri",
"details": "link to document"
},
"shortDescription": {
"problem": "This availability set is not configured for fault tolerance",
"solution": "To ensure high availability add one or more virtual machines to this availability set"
},
"resourceMetadata": {
"resourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Compute/availabilitysets/abc",
"action": {
"actionType": "Document",
"link": "https://link3",
"caption": "Enable Soft Delete to protect blob data",
"description": "Enable Soft Delete to protect blob data",
"metadata": {
"id": "/subscriptions/subscriptionId"
}
},
"singular": "Availability set",
"plural": "Availability sets"
},
"actions": [
{
"actionType": "Document",
"link": "https://link1",
"caption": "Enable Soft Delete to protect blob data",
"description": "Enable Soft Delete to protect blob data",
"metadata": {
"id": "/subscriptions/subscriptionId"
}
}
],
"description": "After enabling Soft Delete, deleted data transitions to a soft deleted state instead of being permanently deleted. When data is overwritten, a soft deleted snapshot is generated to save the state of the overwritten data. You can configure the amount of time soft deleted data is recoverable before it permanently expires.",
"label": "Enable Soft Delete",
"learnMoreLink": "https://link2",
"potentialBenefits": "Save and recover your data when blobs or blob snapshots are accidentally overwritten or deleted"
},
"type": "Microsoft.Advisor/recommendations"
},
{
"id": "/resourceUri/providers/Microsoft.Advisor/recommendations/recGUID2",
"name": "recGUID2",
"properties": {
"category": "Security",
"impact": "Medium",
"impactedField": "Microsoft.Compute/virtualMachines",
"impactedValue": "armavset",
"lastUpdated": "2017-02-24T22:24:43.3216408Z",
"risk": "Warning",
"shortDescription": {
"problem": "Monitoring agent is not installed on your machines",
"solution": "Monitoring agent should be installed on your machines"
},
"resourceMetadata": {
"resourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Compute/virtualMachines/xyz",
"source": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Compute/virtualMachines/xyz/providers/Microsoft.Security/assessments/assessmentGuid",
"action": {
"actionType": "Document",
"link": "https://link3",
"caption": "Enable Soft Delete to protect blob data",
"description": "Enable Soft Delete to protect blob data",
"metadata": {
"id": "/subscriptions/subscriptionId"
}
},
"singular": "Virtual machine",
"plural": "Virtual machines"
},
"actions": [
{
"actionType": "Document",
"link": "https://link1",
"caption": "Enable Soft Delete to protect blob data",
"description": "Enable Soft Delete to protect blob data",
"metadata": {
"id": "/subscriptions/subscriptionId"
}
}
],
"description": "Monitoring agent should be installed on your machines.",
"label": "Enable monitoring agent",
"learnMoreLink": "https://link2",
"potentialBenefits": "Protect and monitor machine"
},
"type": "Microsoft.Advisor/recommendations"
}
]
}
}
}
}