Skip to main content

Active Directory: Node & Edge Schema

Node Types

The following entity types are extracted from Active Directory and represented as nodes in the graph:

Node TypeDescription
UserAn Active Directory user object
GroupA security or distribution group
ComputerA computer object joined to the directory

These nodes are uniquely identified by their ObjectIdentifier (OID) from Active Directory.


Edge Relationships

Edge TypeFrom NodeTo NodeDescription
IS_MEMBER_OFUser or GroupGroupIndicates membership in a group
HAS_MEMBERGroupUser or GroupInverse of IS_MEMBER_OF
CONTAINSContainerUser, Group, or ComputerRepresents directory containment hierarchy
IS_CONTAINED_BYUser, Group, ComputerContainerInverse of CONTAINS
CAN_ACCESSUser or ComputerResourceIndicates access permission to a target resource

These relationships allow the system to perform identity graph analysis, access modeling, and permission auditing across imported AD entities.


Example

Here’s a simplified example of how these relationships might appear in the graph:

(User)-[:IS_MEMBER_OF]->(Group)
(Group)-[:HAS_MEMBER]->(User)
(User)-[:IS_CONTAINED_BY]->(OU)
(OU)-[:CONTAINS]->(Computer)
(Computer)-[:CAN_ACCESS]->(Resource)

Notes

  • Containers are inferred objects such as Organizational Units (OUs).
  • Resources may be created by other adapters (e.g., AWS, Azure) but can be linked to AD identities via edges like CAN_ACCESS.