-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AZAddOwner relationship creation #687
Conversation
…strator, Partner Tier1 Support, Partner Tier2 Support, or Directory Synchronization Accounts roles and all Service Principals and Apps within the tenant
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
recheck |
Hey, @cntC0d3 - thanks for the PR! We're prepping a release right now and won't be able to get a full review before this one, but we'll be sure to get this reviewed here in the next couple of weeks! |
Hey @cntC0d3, Thanks for the PR! It looks good - great job 🙌 We have however started to model the permissions of roles directly out of the AZRole nodes instead of out of the principals with the role assignment. See AZResetPassword as example: Are you up for modifying your AZAddOwner implementation to match that pattern? The documentation for the AZAddOwner edge has to be updated to match the new pattern. I'll take care of that. |
@JonasBK - yeah I can knock that out in the next couple days. 😃 |
Awesome! 🙌 |
@JonasBK - since Microsoft decided to fix many of the issues associated with this edge I haven't had much motivation to continue working this. Closing PR. |
Hey @cntC0d3, Talked with Andy about it. It is only Directory Synchronization Accounts that will loose the ability to add owners to SPs and Apps to our understanding. So your PR is still relevant for the Hybrid Identity Administrator, Partner Tier1 Support, and Partner Tier2 Support roles. Let me know if you are still interested in fixing up the PR. All cool if not - then we will get it fixed :) |
Add AZAddOwner relationship between users with Hybrid Identity Administrator, Partner Tier1 Support, Partner Tier2 Support, or Directory Synchronization Accounts roles and all Service Principals and Apps within the tenant
Description
Add logic to
analysis/azure/post
to perform post-processing analysis for AZAddOwner edges in theUserRoleAssignments
function. This was completed by adding a newaddOwners
function that fetches all ServicePrincipals and Apps within the tenant and proceeds to create the edge between users with the following roles:Motivation and Context
This PR addresses: Issue #686
Fully implements documented behavior for AZAddOwner relationships per documentation.
How Has This Been Tested?
Verifying issue:
Verifying fix.
Screenshots (optional):
Types of changes
Checklist: