Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Fields specifies which fields should be checked for PII
// Can use wildcards, e.g., "user.*" or "*_email"
Fields []string `yaml:"fields"`
// Replacement is the string to use instead of PII values
// Default: "[REDACTED]"
Replacement string `yaml:"replacement"`
// DetectionRules defines custom regex patterns for PII detection
DetectionRules map[string]string `yaml:"detection_rules"`
}
Config represents PII removal configuration
Click to show internal directories.
Click to hide internal directories.