The Auto Classification Workflow enables automatic tagging of sensitive information within databases. Below are the configuration parameters available in the Service Classification Pipeline JSON.
Regex to compute metrics for tables matching specific tags, tiers, or glossary patterns.
Object
N/A
schemaFilterPattern
Regex to fetch schemas matching the specified pattern.
Object
N/A
tableFilterPattern
Regex to exclude tables matching the specified pattern.
Object
N/A
databaseFilterPattern
Regex to fetch databases matching the specified pattern.
Object
N/A
includeViews
Option to include or exclude views during metadata ingestion.
Boolean
true
useFqnForFiltering
Determines whether filtering is applied to the Fully Qualified Name (FQN) instead of raw names.
Boolean
false
storeSampleData
Controls whether sampled rows are persisted to OpenMetadata after classification. Rows are always sampled for classification regardless of this setting.
Boolean
false
enableAutoClassification
Enables automatic tagging of columns that might contain sensitive information.
Boolean
true
confidence
Confidence level for tagging columns as sensitive. Value ranges from 0 to 100.
Number
80
sampleDataCount
Number of rows to sample from each table for classification. Valid values range from 1 to 1000, and higher values are capped at 1000. storeSampleData controls whether sampled rows are saved to OpenMetadata, which keeps at most 50 of them.
Integer
50
classificationLanguage
Language for auto-classification recognizers. Use any to run all recognizers regardless of language. For a specific language, only matching recognizers run.
Controls whether sampled rows are persisted to OpenMetadata after classification.
Rows are always sampled for classification regardless of this setting, up to the sampleDataCount limit. storeSampleData only decides whether those rows are also saved to OpenMetadata, which keeps at most 50 of them.
Use this to scope the auto-classification run to only tables carrying a specific tag.The value you provide must match the tag name or tag FQN depending on the useFqnForFiltering setting:
Default (useFqnForFiltering: false) — match against the tag name only. For example, if your tag is POV.Key Data Asset, use key data asset:
classificationFilterPattern: includes: - "key data asset"
When useFqnForFiltering: true — match against the full tag FQN in the format Classification.TagName:
classificationFilterPattern: includes: - "POV.Key Data Asset"
Important: Passing the FQN format (for example, POV.Key Data Asset) when useFqnForFiltering is false (the default) will cause the filter to match nothing — all records will be skipped and the run will report zero classified results.
When set to true, filtering patterns — including classificationFilterPattern — are matched against the Fully Qualified Name (for example, Classification.TagName).
When set to false (default), filtering matches against raw names only (for example, the tag name without the classification prefix).
Automatically classifies and tags sensitive data based on predefined patterns and confidence levels.
Improves metadata enrichment and enhances data governance practices.
Provides visibility into sensitive data across databases.
This approach ensures that the Auto Classification Workflow is executed correctly using the appropriate OpenMetadata ingestion framework.
The Auto Classification workflow will be using the orm-profiler processor.After running a Metadata Ingestion workflow, we can run the Auto Classification workflow.
While the serviceName will be the same to that was used in Metadata Ingestion, so the ingestion bot can get the serviceConnection details from the server.
Automatic Tagging:
Columns containing sensitive information (e.g., names, emails, SSNs) are automatically tagged based on predefined confidence levels.
Enhanced Visibility:
Gain improved visibility and classification of sensitive data within your databases.
Sample Data Integration:
Store sample data to provide better insights during profiling and testing workflows.