forked from PlumHound/PlumHound
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add EntraID General tasks from @LuemmelSec
- Loading branch information
Mathieu Saulnier
authored and
Mathieu Saulnier
committed
Aug 25, 2023
1 parent
f43d6a7
commit bca06e8
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[ "Return all Members of the 'Global Administrator' Role", "HTMLCSV", "EID-GlobalAdmin", "MATCH p =(n)-[r:AZGlobalAdmin*1..]->(m) RETURN p" ] | ||
[ "Return all Members of High Privileged Roles", "HTMLCSV", "EID-HighPriv", "MATCH p=(n)-[:AZHasRole|AZMemberOf*1..2]->(r:AZRole WHERE r.displayname =~ '(?i)Global Administrator|User Administrator|Cloud Application Administrator|Authentication Policy Administrator|Exchange Administrator|Helpdesk Administrator|PRIVILEGED AUTHENTICATION ADMINISTRATOR|Domain Name Administrator|Hybrid Identity Administrator|External Identity Provider Administrator') RETURN p" ] | ||
[ "Return all Members of High Privileged Roles that are synced from OnPrem AD", "HTMLCSV", "EID-HighPrivSyncUsers", "MATCH p=(n WHERE n.onpremisesyncenabled = true)-[:AZHasRole|AZMemberOf*1..2]->(r:AZRole WHERE r.displayname =~ '(?i)Global Administrator|User Administrator|Cloud Application Administrator|Authentication Policy Administrator|Exchange Administrator|Helpdesk Administrator|PRIVILEGED AUTHENTICATION ADMINISTRATOR') RETURN p" ] | ||
[ "Return all Azure Users that are synced from OnPrem AD", "HTMLCSV", "EID-SyncUsers", "MATCH (n:AZUser WHERE n.onpremisesyncenabled = true) RETURN n" ] | ||
[ "Return all Azure Groups that are synced from OnPrem AD", "HTMLCSV", "EID-SyncGroups", "MATCH (g:AZGroup {onpremsyncenabled: True}) RETURN g" ] | ||
[ "Return all Azure Subscriptions", "HTMLCSV", "EID-AzureSubs", "MATCH (n:AZSubscription) RETURN n" ] | ||
[ "Return all Azure Subscriptions and their direct Controllers", "HTMLCSV", "EID-SubAndControlers", "MATCH p = (n)-[r:AZOwns|AZUserAccessAdministrator]->(g:AZSubscription) RETURN p" ] | ||
[ "Return all principals with the UserAccessAdministrator Role against Subscriptions", "HTMLCSV", "EID-SubUserAccessAdmin","MATCH p = (u)-[r:AZUserAccessAdministrator]->(n:AZSubscription) RETURN p" ] | ||
[ "Return all prinicpals with the UserAccessAdministrator Role", "HTML", "EID-AllUserAccessAdmin", "MATCH p = (u)-[r:AZUserAccessAdministrator]->(n) RETURN p" ] | ||
[ "Return all Azure Users that DON'T hold an Azure Role but the RBAC Role 'User Access Administrator'", "HTMLCSV", "EID-UserNoRoleButAdmin", "MATCH (u:AZUser) WHERE NOT EXISTS((u)-[:AZMemberOf|AZHasRole*1..]->(:AZRole)) AND EXISTS((u)-[:AZUserAccessAdministrator]->()) RETURN u" ] | ||
[ "Return all Azure Principals that DON'T hold an Azure Role but the RBAC Role 'User Access Administrator'", "HTMLCSV", "EID-PrincipalNoRoleButAdmin", "MATCH (u) WHERE NOT EXISTS((u)-[:AZMemberOf|AZHasRole*1..]->(:AZRole)) AND EXISTS((u)-[:AZUserAccessAdministrator]->()) RETURN u"] |