Skip to content

StringPatternAnonymizer - Alternative configuration proposal #229

@SimonMellerin

Description

@SimonMellerin

For advanced cases, it could be nice to accept this kind of conf for the StringPatternAnonymizer:

anonymization:
    default:
        customer:a
            biography:
                anonymizer: pattern
                options: 
                     value: '{1} {2} has email address {3}.'
                     1: firstname
                     2: lastname
                     3: 
                         anonymizer: email
                         options: {domain: 'custom-domain.com'}

Originally posted by @SimonMellerin in #224 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions