LogRedactionConfiguration
¶
Source code in docs_src/capo_cleanroomsml/types/log_redaction_configuration.py
custom_entity_config
instance-attribute
¶
custom_entity_config: NotRequired[CustomEntityConfig]
Specifies the configuration for custom entities in the context of log redaction.
entities_to_redact
instance-attribute
¶
entities_to_redact: EntityTypeList
Specifies the entities to be redacted from logs. Entities to redact are "ALL_PERSONALLY_IDENTIFIABLE_INFORMATION", "NUMBERS","CUSTOM". If CUSTOM is supplied or configured, custom patterns (customDataIdentifiers) should be provided, and the patterns will be redacted in logs or error messages.