Skip to content

[Query Issue]: All members of high privileged roles missing role #31

@rtfmkiesel

Description

@rtfmkiesel

Query GUID

3df24d92-dd12-4125-811b-e696b098f60e

Query content

MATCH p=(t:AZRole)<-[:AZHasRole|AZMemberOf*1..2]-(:AZBase)
WHERE t.name =~ '(?i)Global Administrator|User Administrator|Cloud Application Administrator|Authentication Policy Administrator|Exchange Administrator|Helpdesk Administrator|Privileged Authentication Administrator'
RETURN p
LIMIT 1000

Issue description

Is there a specific reason this list is missing Privileged Role Administrator or was it simply forgotten?

The Privileged Role Admin role can grant any other admin role to another principal at the tenant level.

I personally would use the system_tags here:

MATCH p=(t:AZRole)<-[:AZHasRole|AZMemberOf*1..2]-(:AZBase)
WHERE "admin_tier_0" IN split(t.system_tags, " ")
RETURN p
LIMIT 1000

BloodHound version

CE 8.2.0

BloodHound DB

Neo4j

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions