Skip to main content

Snowflake: Node & Edge Schema

The Snowflake adapter extracts identity and access data from a Snowflake data warehouse instance and maps it into the SlashID identity graph. It focuses on users, roles, and service-related identities.

Node Types

Node TypeDescription
SnowflakeUserRepresents a user in Snowflake.
SnowflakeRoleA role in Snowflake.
SnowflakeServiceAccountA service account identity.
SnowflakeServiceIntegrationAn integration identity for external services.
SnowflakeRSAKeyAn RSA public key.
SnowflakeDatabaseA database.
SnowflakeSchemaA database schema.
SnowflakeTableA database table.

Edge Relationships

Edge TypeFrom NodeTo NodeDescription
CAN_ASSUMESnowflakeUserSnowflakeRoleIndicates the ability to assume a role.
CAN_BE_ASSUMED_BYSnowflakeRoleSnowflakeUserReverse of CAN_ASSUME.
OWNSSnowflakeUserSnowflakeRSAKeyResource ownership link.
OWNED_BYSnowflakeRSAKeySnowflakeUserReverse of OWNS.
CAN_ASSUMESnowflakeServiceAccountSnowflakeRoleIndicates the ability to assume a role.
CAN_BE_ASSUMED_BYSnowflakeRoleSnowflakeServiceAccountReverse of CAN_ASSUME.
OWNSSnowflakeServiceAccountSnowflakeRSAKeyResource ownership link.
OWNED_BYSnowflakeRSAKeySnowflakeServiceAccountReverse of OWNS.
CAN_ASSUMESnowflakeRoleSnowflakeRoleIndicates the ability to assume a role.
CAN_BE_ASSUMED_BYSnowflakeRoleSnowflakeRoleReverse of CAN_ASSUME.
CREATEDSnowflakeRoleSnowflakeRoleIndicates the entity created the resource.
CREATED_BYSnowflakeRoleSnowflakeRoleReverse of CREATED.
CONTAINSSnowflakeDatabaseSnowflakeSchemaRepresents hierarchical containment.
CONTAINED_BYSnowflakeSchemaSnowflakeDatabaseReverse of CONTAINS.
CONTAINSSnowflakeSchemaSnowflakeTableRepresents hierarchical containment.
CONTAINED_BYSnowflakeTableSnowflakeSchemaReverse of CONTAINS.
CAN_ACCESSSnowflakeUserSnowflakeTableEntity is allowed to access.
ACCESSED_BYSnowflakeTableSnowflakeUserReverse of CAN_ACCESS.
CAN_ACCESSSnowflakeRoleSnowflakeTableEntity is allowed to access.
ACCESSED_BYSnowflakeTableSnowflakeRoleReverse of CAN_ACCESS.
CAN_ACCESSSnowflakeServiceAccountSnowflakeTableEntity is allowed to access.
ACCESSED_BYSnowflakeTableSnowflakeServiceAccountReverse of CAN_ACCESS.

--

Examples

(SnowflakeUser)-[:CAN_ASSUME]->(SnowflakeRole)
(SnowflakeRSAKey)-[:OWNED_BY]->(SnowflakeUser)
(SnowflakeUser)-[:CAN_ACCESS]->(SnowflakeTable)
(SnowflakeDatabase)-[:CONTAINS]->(SnowflakeSchema)