-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
PutGovernanceAssignment_example.json
80 lines (80 loc) · 3.12 KB
/
PutGovernanceAssignment_example.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
{
"parameters": {
"api-version": "2022-01-01-preview",
"scope": "subscriptions/c32e05d9-7207-4e22-bdf4-4f7d9c72e5fd/resourceGroups/compute_servers/providers/Microsoft.Compute/virtualMachines/win2012",
"assessmentName": "6b9421dd-5555-2251-9b3d-2be58e2f82cd",
"assignmentKey": "6634ff9f-127b-4bf2-8e6e-b1737f5e789c",
"governanceAssignment": {
"properties": {
"owner": "user@contoso.com",
"remediationDueDate": "2022-01-07T13:00:00.0000000Z",
"remediationEta": {
"eta": "2022-01-08T13:00:00.0000000Z",
"justification": "Justification of ETA"
},
"isGracePeriod": true,
"governanceEmailNotification": {
"disableManagerEmailNotification": false,
"disableOwnerEmailNotification": false
},
"additionalData": {
"ticketNumber": 123123,
"ticketLink": "https://snow.com",
"ticketStatus": "Active"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/c32e05d9-7207-4e22-bdf4-4f7d9c72e5fd/resourceGroups/compute_servers/providers/Microsoft.Compute/virtualMachines/win2012/providers/Microsoft.Security/assessments/6b9421dd-5555-2251-9b3d-2be58e2f82cd/governanceAssignments/6634ff9f-127b-4bf2-8e6e-b1737f5e789c",
"name": "6634ff9f-127b-4bf2-8e6e-b1737f5e789c",
"type": "Microsoft.Security/assessments/governanceAssignments",
"properties": {
"owner": "user@contoso.com",
"remediationDueDate": "2022-01-07T13:00:00.0000000Z",
"remediationEta": {
"eta": "2022-01-08T13:00:00.0000000Z",
"justification": "Justification of ETA"
},
"isGracePeriod": true,
"governanceEmailNotification": {
"disableManagerEmailNotification": false,
"disableOwnerEmailNotification": false
},
"additionalData": {
"ticketNumber": 123123,
"ticketLink": "https://snow.com",
"ticketStatus": "Active"
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/c32e05d9-7207-4e22-bdf4-4f7d9c72e5fd/resourceGroups/compute_servers/providers/Microsoft.Compute/virtualMachines/win2012/providers/Microsoft.Security/assessments/6b9421dd-5555-2251-9b3d-2be58e2f82cd/governanceAssignments/6634ff9f-127b-4bf2-8e6e-b1737f5e789c",
"name": "6634ff9f-127b-4bf2-8e6e-b1737f5e789c",
"type": "Microsoft.Security/assessments/governanceAssignments",
"properties": {
"owner": "user@contoso.com",
"remediationDueDate": "2022-01-07T13:00:00.0000000Z",
"remediationEta": {
"eta": "2022-01-08T13:00:00.0000000Z",
"justification": "Justification of ETA"
},
"isGracePeriod": true,
"governanceEmailNotification": {
"disableManagerEmailNotification": false,
"disableOwnerEmailNotification": false
},
"additionalData": {
"ticketNumber": 123123,
"ticketLink": "https://snow.com",
"ticketStatus": "Active"
}
}
}
}
}
}