Skip to content

Commit

Permalink
Add Microsoft.Authorization/roleAssignments/read (#497)
Browse files Browse the repository at this point in the history
* New-AzPolicyReaderRole script creates
roleAssignments/read permission

* Updated policy reader role screenshots
Updated policy reader role documentation

---------

Co-authored-by: Benjamin Rohner <[email protected]>
  • Loading branch information
benjaminpieplow and Benjamin Rohner authored Mar 6, 2024
1 parent 06e01cd commit 154ad5f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 0 deletions.
Binary file modified Docs/Images/ci-cd-role-policy-reader-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Docs/Images/ci-cd-role-policy-reader-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Docs/ci-cd-app-registrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ EPAC uses a set of Entra ID App Registrations (Service Principals). To build the
"Microsoft.Authorization/policydefinitions/read",
"Microsoft.Authorization/policyexemptions/read",
"Microsoft.Authorization/policysetdefinitions/read",
"Microsoft.Authorization/roleAssignments/read",
"Microsoft.PolicyInsights/*",
"Microsoft.Management/register/action",
"Microsoft.Management/managementGroups/read"
Expand Down
1 change: 1 addition & 0 deletions Docs/create-policy-reader-role.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Creates a custom role `EPAC Resource Policy Reader` with `Id` `2baa1a7c-6807-46a
* `Microsoft.Authorization/policydefinitions/read`
* `Microsoft.Authorization/policyexemptions/read`
* `Microsoft.Authorization/policysetdefinitions/read`
* `Microsoft.Authorization/roleAssignments/read`
* `Microsoft.PolicyInsights/*`
* `Microsoft.Management/register/action`
* `Microsoft.Management/managementGroups/read`
Expand Down
1 change: 1 addition & 0 deletions Scripts/Operations/New-AzPolicyReaderRole.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ $perms = @(
"Microsoft.Authorization/policydefinitions/read",
"Microsoft.Authorization/policyexemptions/read",
"Microsoft.Authorization/policysetdefinitions/read",
"Microsoft.Authorization/roleAssignments/read",
"Microsoft.PolicyInsights/*",
"Microsoft.Management/register/action",
"Microsoft.Management/managementGroups/read"
Expand Down

0 comments on commit 154ad5f

Please sign in to comment.