Protection
class ProtectionType
Protection types used in data protection.
Attributes:
MASK
- Mask the protected values with a placeholder.IMPUTE
- Impute protected values replacing them with plausible non-protected values.
class Protection
Protection mechanism for a column.
Arguments:
detectors
- A sequence ofDetector
objects to detect the values that must be protected.default
- Whether to apply the default protection.type
- The type of protection to be applied, either aProtectionType
object or a string representing aProtectionType
.