-
Notifications
You must be signed in to change notification settings - Fork 220
Add tests for privileged users linked to identities #1394
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
base: main
Are you sure you want to change the base?
Conversation
Deploying maester with
|
| Latest commit: |
58604cd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://cee15025.maester.pages.dev |
| Branch Preview URL: | https://tnh-privilegeduserlinkediden.maester.pages.dev |
…ry account details; update test conditions for privileged users linked to disabled identities.
|
Does this require the new [preview] identity linking feature or does it also work with account correlation in IDG? |
|
Does this effectively check all license requirements (and potentially feature activation in the tenant) so it can fail/skip gracefully? |
Yes, the license check is integrated for all |
Yes, it's require the new identity linking feature in XDR. Which particular account correlation feature did you mean in IDG (= Identity Governance?)? |
…ed users linked to disabled identities
I did some more digging on that and (according to Copilot) the identity correlation feature in Identity Governance was removed. |
|
@SamErde : Do you have any tenant in Access that can be used for QA of this Maester check? |
I don't have time to go too deep today, but after a quick test, they both look good. For this test, I added the 'Azure AD Joined Device Local Administrator', 'Cloud Device Administrator', and 'Global Reader' roles to my standard account. My CA (cloud admin) account was linked to my standard user account, which caused the test to fail because it was not linked to an un-privileged account. I will have to create additional test accounts later this week to validate all relevant scenarios. |


Enhance the UnifiedIdentityInfo to support linkable identifiers between privileged/regular user accounts and checks to ensure they are linked to their primary identities. This new tests aims to improve security by verifying that enabled privileged accounts do not remain active when their associated primary accounts are disabled, thereby reducing the risk of orphaned accounts. Additionally, it establishes a clear linkage between privileged and regular user accounts for better visibility and incident response.
Contribution Checklist
Before submitting this PR, please confirm you have completed the following:
/powershell/tests/pester.ps1on your local system.Join us at the Maester repository discussions 💬 or Entra Discord 🧑💻 for more help and conversations!