Data Control
Privacy controls, not privacy code. Field-level privacy controls that protect sensitive data without requiring engineering effort. Configure once, apply everywhere.Object Definitions
Data controls are defined per object type in your Virtual API spec. Theobjects key maps resource names to their filter configurations.
Given an API with these endpoints:
/properties— list of properties/properties/{propertyId}/inspections— inspections for a property/properties/{propertyId}/inspections/{inspectionId}/issues— issues for an inspection
target— the field name to apply the filter tofilterType— the operation (REDACT, TOKENIZE, TOKENIZE_ANONYMOUS, ALLOW)
The _default Object
_default is an optional catch-all for objects not explicitly defined.
| Scenario | Behavior |
|---|---|
| Request matches undefined object | _default filters apply |
| Request matches named object | Filters merge. If the same target appears in both, the named object wins. Other _default filters still apply. |
Filter Types
Redact
Remove sensitive data entirely. Strings become empty, numbers become zero.Tokenize
Replace sensitive values with consistent, syntax-preserving tokens. Same input always produces the same token — enabling analytics without exposing raw data.Tokenize Anonymous
Generate randomized replacements that preserve data structure. Each call produces a different value, making re-identification impossible.Allow
Pass data through unchanged. Useful when you want to be explicit about which fields are permitted, or to override a_default filter for specific objects.
Targeting Nested Fields
Use dot notation to target nested fields:Targeting Arrays
Apply filters to all items in an array:Combining Filters
Apply multiple filter types within an object definition:When to Use Each
| Filter Type | Use case |
|---|---|
| REDACT | Data that should never leave your system (SSN, credentials) |
| TOKENIZE | Identifiers needed for correlation/analytics without exposure |
| TOKENIZE_ANONYMOUS | Data for ML training, testing, or demos |
| ALLOW | Explicitly permit fields, or override _default filters |

