Skip to content

Commit 0eae138

Browse files
committed
f
1 parent fbc91db commit 0eae138

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pentesting-cloud/azure-security/az-privilege-escalation/az-authorization-privesc.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,16 @@ Create the file `role.json` with the following **content**:
2727

2828
```json
2929
{
30+
"roleName": "<name of the role>",
3031
"Name": "<name of the role>",
3132
"IsCustom": true,
3233
"Description": "Custom role with elevated privileges",
3334
"Actions": ["*"],
3435
"NotActions": [],
3536
"DataActions": ["*"],
3637
"NotDataActions": [],
37-
"AssignableScopes": ["/subscriptions/<subscription-id>"]
38+
"AssignableScopes": ["/subscriptions/<subscription-id>"],
39+
"id": "/subscriptions/<subscription-id>/providers/Microsoft.Authorization/roleDefinitions/<role-id>",
3840
}
3941
```
4042

0 commit comments

Comments
 (0)