-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Expand file tree
/
Copy pathacquirePolicyTokenAtManagementGroup.json
More file actions
91 lines (91 loc) · 3.68 KB
/
Copy pathacquirePolicyTokenAtManagementGroup.json
File metadata and controls
91 lines (91 loc) · 3.68 KB
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
{
"parameters": {
"api-version": "2026-07-01",
"managementGroupName": "MyManagementGroup",
"parameters": {
"operation": {
"httpMethod": "delete",
"uri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000000?api-version=2022-04-01"
}
}
},
"responses": {
"200": {
"body": {
"result": "Succeeded",
"requestDetails": {
"uri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000000?api-version=2022-04-01",
"resourceId": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000000",
"apiVersion": "2022-04-01",
"authorizationAction": "Microsoft.Authorization/roleAssignments/delete",
"httpMethod": "DELETE",
"contentHash": "0000000000000000000000000000000000000000000000000000000000000000"
},
"results": [
{
"policyInfo": {
"policyAssignmentId": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/3f2def86",
"policyDefinitionId": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/5ed64d02",
"policyDefinitionEffect": "denyAction"
},
"result": "Succeeded",
"endpointKind": "CoinFlip",
"message": "Coin flip successful (success probability: '1').",
"claims": {
"date": "2025-01-01T19:30:00.00Z",
"double": 0.99,
"int": 2,
"isValid": false,
"string": "testString",
"testArray": [
"Apple",
"Banana",
"Cherry"
],
"testObject": {
"name": "Complex Object",
"id": 12345,
"details": {
"createdBy": "John Doe",
"createdDate": "2024-12-13T12:00:00Z",
"metadata": {
"isActive": true,
"tags": [
"example",
"test",
"object"
],
"version": "1.0.0"
}
}
}
},
"policyAction": "Allow",
"complianceState": "NotApplicable",
"policyEvaluationDetails": {
"evaluatedExpressions": [
{
"result": "False",
"expressionKind": "Value",
"expression": "[claims().isValid]",
"expressionValue": false,
"targetValue": "True",
"operator": "Equals"
}
]
},
"additionalInfo": {
"successProbability": 1.0
},
"expiration": "2025-01-01T21:30:00.00Z"
}
],
"token": "PT 1.ey7zmVse52pjMKPQd5m2uiNjz5UV2pZ.LPGtRiTeuCDBomEVbzj9kIaL9odEmlNv4D9VzyrQLTAyv4HHnUR7oNytWnL.AQrZ5bSGAQZzr8eySqvugzrD-ceRVL311SL3Nn6f-4c9kgPgU_u1ArXQKW25QCxMlsAuWmaE",
"tokenId": "0da8a969-c660-4de0-a6a4-b2034d4325e4",
"expiration": "2025-01-01T21:30:00.00Z"
}
}
},
"operationId": "PolicyTokens_AcquireAtManagementGroup",
"title": "Acquire a policy token at management group level"
}