Skip to content

LogRedactionConfiguration

Source code in docs_src/capo_cleanroomsml/types/log_redaction_configuration.py
class LogRedactionConfiguration(TypedDict, closed=True):
    entities_to_redact: "capo_cleanroomsml.types.entity_type_list.EntityTypeList"
    """<p>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.</p>"""
    custom_entity_config: NotRequired[
        "capo_cleanroomsml.types.custom_entity_config.CustomEntityConfig"
    ]
    """<p>Specifies the configuration for custom entities in the context of log redaction.</p>"""

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.