DataClassificationCatalogConfig
laktory.models.resources.databricks.DataClassificationCatalogConfig
¤
Bases: DataClassificationCatalogConfigBase
Databricks Data Classification catalog configuration
Enables Data Classification on a Unity Catalog catalog: sensitive data
(PII) is automatically identified and, optionally, tagged. Combined with
attribute-based access control (PolicyInfo), classified columns can be
masked or filtered without listing them. Can also be declared directly on
a Catalog with its data_classification field.
Examples:
import io
from laktory import models
config_yaml = '''
parent: catalogs/dev
auto_tag_configs:
- classification_tag: class.email_address
auto_tagging_mode: AUTO_TAGGING_ENABLED
excluded_schemas:
names:
- sandbox
'''
config = (
models.resources.databricks.DataClassificationCatalogConfig.model_validate_yaml(
io.StringIO(config_yaml)
)
)
| BASE | DESCRIPTION |
|---|---|
auto_tag_configs
|
List of auto-tagging configurations for this catalog. Empty list means no auto-tagging is enabled
TYPE:
|
excluded_schemas
|
Schemas to exclude from the scan, each named relative to the parent catalog. If specified, all schemas except the specified ones will be scanned. Mutually exclusive with
TYPE:
|
included_schemas
|
Schemas to include in the scan, each named relative to the parent catalog. If specified, only listed schemas will be scanned. Mutually exclusive with
TYPE:
|
parent
|
Parent catalog in the format
TYPE:
|
provider_config
|
Configure the provider for management through account provider
TYPE:
|
laktory.models.resources.databricks.dataclassificationcatalogconfig.DataClassificationCatalogConfigAutoTagConfigs
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
auto_tagging_mode
|
Whether auto-tagging is enabled or disabled for this classification tag. Possible values are:
TYPE:
|
classification_tag
|
The Classification Tag. For built-in classes this is a system tag (e.g., 'class.name', 'class.location'); for custom classes it is a user-defined governance tag key
TYPE:
|
laktory.models.resources.databricks.dataclassificationcatalogconfig.DataClassificationCatalogConfigExcludedSchemas
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
names
|
Schema names, each relative to the parent catalog. Must not be empty
TYPE:
|
laktory.models.resources.databricks.dataclassificationcatalogconfig.DataClassificationCatalogConfigIncludedSchemas
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
names
|
Schema names, each relative to the parent catalog. Must not be empty
TYPE:
|
laktory.models.resources.databricks.dataclassificationcatalogconfig.DataClassificationCatalogConfigProviderConfig
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
workspace_id
|
Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with
TYPE:
|