UUID
Description
Replaces the field with a randomly generated UUID V4.
Category
Anonymization
Supported Field Types
- text
- timestamp
- date
- float
- int
- boolean
- time
Output Field Type
- text
Arguments
None
Pseudo-code (Python)
def func(val):
"""
val: field value
"""
import uuid
return str(uuid.uuid4())
Use the UUID Anonymization Function in Kondado
Apply the UUID function to replace sensitive field values with random UUID V4 identifiers during data transformation pipelines.
Identify fields requiring anonymization
Review your data sources and determine which fields contain sensitive information that should be replaced with unique, non-reversible identifiers before loading to destinations.
Apply the UUID transformation
In your pipeline configuration, select the UUID function from the Anonymization category. This works on any supported field type (text, timestamp, date, float, int, boolean, time) and always outputs a text-based UUID V4.
Validate anonymized output
Run a test extraction and verify that original values are fully replaced with random UUIDs, ensuring no traceable data reaches your data transformation outputs or downstream systems.
Deploy to production pipeline
Once validated, activate the pipeline to automatically anonymize fields on every run, maintaining data privacy compliance without manual intervention.