Grab a spot →
Skip to main content

What does Atlan crawl from Microsoft Azure Cosmos DB for NoSQL?

Connect docs via MCP

This reference document details the Microsoft Azure Cosmos DB for NoSQL assets and properties that Atlan crawls and maps during metadata extraction. Atlan currently doesn't support lineage for Cosmos DB for NoSQL assets.

Asset model

Atlan crawls and maps the following asset types from Cosmos DB for NoSQL, in this hierarchy:

  • AccountDatabaseContainerColumn (inferred field), Stored procedure, Trigger, and User-defined function.

Columns, stored procedures, triggers, and user-defined functions all attach to their parent container.

Cosmos DB for NoSQL reuses Atlan's existing Cosmos DB asset family for accounts, databases, and containers, so some property names carry a cosmosMongoDB prefix even though the assets come from the NoSQL API. Atlan distinguishes these assets using the connectorName="cosmosnosql" discriminator on the connection, so they appear under the Cosmos DB for NoSQL connector in the Atlan UI, separately from any Microsoft Azure Cosmos DB connection.

After crawling Cosmos DB for NoSQL, you can use connector-specific filters to discover assets.

The following sections show how each asset type is mapped, including the source metadata and the corresponding Atlan property.

Accounts

Atlan maps accounts from Cosmos DB for NoSQL to its CosmosMongoDBAccount asset type.

Source metadataAtlan property
Account namename
Number of databases in the accountcosmosMongoDBDatabaseCount
Subscription that contains the accountcosmosMongoDBAccountSubscriptionId
Resource group that contains the accountcosmosMongoDBAccountResourceGroup
Document endpoint of the accountcosmosMongoDBAccountDocumentEndpoint
Default consistency levelcosmosMongoDBAccountConsistencyPolicy
Whether public network access is enabledcosmosMongoDBAccountPublicNetworkAccess
Whether multiple write locations are enabledcosmosMongoDBAccountEnableMultipleWriteLocations
All Azure regions configured for the accountcosmosMongoDBAccountLocations
Regions serving readscosmosMongoDBAccountReadLocations
Regions serving writescosmosMongoDBAccountWriteLocations

Databases

Atlan maps databases from Cosmos DB for NoSQL to its CosmosMongoDBDatabase asset type.

Source metadataAtlan property
Database namename
Parent accountcosmosMongoDBAccountQualifiedName
Time the database was last modifiedsourceUpdatedAt

Containers

Atlan maps containers from Cosmos DB for NoSQL to its CosmosMongoDBCollection asset type, with assetUserDefinedType set to Container.

Source metadataAtlan property
Container namename
Parent database namedatabaseName
ContainerassetUserDefinedType
Whether the container is partitionedisPartitioned
Partitioning strategypartitionStrategy
Partition key pathspartitionList
Number of inferred fieldscolumnCount
Time the container was last modifiedsourceUpdatedAt

Columns

Atlan maps each inferred field from a container to its Column asset type. Fields are inferred by sampling up to 200 items per container and consolidating the fields found across those items into a single schema. Nested fields are published up to 35 levels deep.

Source metadataAtlan property
Field namename
Field order within the containerorder
Inferred data typedataType
nested for fields below the top levelsubDataType
Raw inferred type definitionrawDataTypeDefinition
Whether the field matches a partition key pathisPrimary
Whether the field is absent from at least one sampled itemisNullable
Nesting depth of the fieldcolumnDepthLevel
Complete hierarchy from parent column to child columncolumnHierarchy
Position of the field within its nesting levelnestedColumnOrder
Number of fields nested beneath this fieldnestedColumnCount
Parent field name, for nested fieldsparentColumnName
Parent field, for nested fieldsparentColumnQualifiedName
Parent container namenosqlCollectionName
Parent containernosqlCollectionQualifiedName

Stored procedures

Atlan maps stored procedures from Cosmos DB for NoSQL to its Procedure asset type, with assetUserDefinedType set to Stored Procedure.

Source metadataAtlan property
Stored procedure namename
Stored procedure bodydefinition
Language the stored procedure is written insqlLanguage
Stored ProcedureassetUserDefinedType
Parent database namedatabaseName
Time the stored procedure was last modifiedsourceUpdatedAt

Triggers

Atlan maps triggers from Cosmos DB for NoSQL to its Procedure asset type, with subType and assetUserDefinedType both set to Trigger.

Source metadataAtlan property
Trigger namename
Trigger bodydefinition
Language the trigger is written insqlLanguage
TriggersubType
TriggerassetUserDefinedType
Parent database namedatabaseName
Time the trigger was last modifiedsourceUpdatedAt

User-defined functions

Atlan maps user-defined functions from Cosmos DB for NoSQL to its Function asset type.

Source metadataAtlan property
Function namename
Function bodyfunctionDefinition
Language the function is written infunctionLanguage
Parent database namedatabaseName
Time the function was last modifiedsourceUpdatedAt