Skip to main content

Azure: Node & Edge Schema

This document describes the graph model built by the Azure connection, which maps cloud identities, groups, service principals, and IAM roles into a the SlashID identity graph.


Node Types

Node TypeDescription
AzureUserA cloud user in Azure Active Directory
AzureGroupA security or distribution group in Azure AD
AzureRoleA role definition assigned through Azure RBAC
AzureServicePrincipalA service identity for apps and automation in Azure
AzureManagedIdentityA managed identity for Azure services
AzureResourceManagerRoleRole used in ARM for access control
CredentialA login credential (e.g., password, token) tied to an identity
ResourceA cloud resource like VM, storage account, etc.

Edge Relationships

Edge TypeFrom NodeTo NodeDescription
IS_MEMBER_OFAzureUser, AzureGroupAzureGroupMembership within Azure groups
HAS_MEMBERAzureGroupAzureUser, AzureGroupReverse of IS_MEMBER_OF
HAS_ROLEAzureUser, AzureServicePrincipalAzureRoleIndicates that a role is granted to a principal
IS_ROLE_OFAzureRoleAzureUser, AzureGroupReverse of HAS_ROLE
HAS_CREDENTIALAzureUser, AzureServicePrincipalCredentialA credential belonging to an identity
IS_CREDENTIAL_OFCredentialAzureUser, AzureServicePrincipalReverse of HAS_CREDENTIAL
OWNSAzureUser, AzureServicePrincipalResourceOwnership of a resource
IS_OWNED_BYResourceAzureUser, AzureServicePrincipalReverse of OWNS
CAN_ACCESSAzureUser, AzureServicePrincipal, AzureGroupResourceIdentity is allowed access
CAN_BE_ACCESSEDResourceAzureUser, AzureGroupReverse of CAN_ACCESS
IS_ASSIGNEDAzureUser, AzureGroupAzureRole, ResourceRole/resource assignment
CONTAINSAzureGroup, ResourceNested members or resourcesStructural containment

Examples

(AzureUser)-[:IS_MEMBER_OF]->(AzureGroup)
(AzureUser)-[:HAS_ROLE]->(AzureRole)
(AzureServicePrincipal)-[:HAS_CREDENTIAL]->(Credential)
(AzureUser)-[:OWNS]->(Resource)
(AzureManagedIdentity)-[:CAN_ACCESS]->(Resource)