com.snowplowanalytics.snowplow.enrich.common.enrichments.registry.pii
a list of configured PiiFields
whether to emit an identification event
the pseudonymization strategy to use
whether to emit an identification event
a list of configured PiiFields
Gets the list of files the enrichment requires cached locally.
Gets the list of files the enrichment requires cached locally. The default implementation returns an empty list; if an enrichment requires files, it must override this method.
A list of pairs, where the first entry in the pair indicates the (remote) location of the source file and the second indicates the local path where the enrichment expects to find the file.
the pseudonymization strategy to use
The PiiPseudonymizerEnrichment runs after all other enrichments to find fields that are configured as PII (personally identifiable information) and apply some anonymization (currently only pseudonymization) on them. Currently a single strategy for all the fields is supported due to the configuration format, and there is only one implemented strategy, however the enrichment supports a strategy per field.
The user may specify two types of fields in the config
pojo
orjson
. Apojo
field is effectively a scalar field in the EnrichedEvent, whereas ajson
is a "context" formatted field and it can either contain a single value in the case of unstruct_event, or an array in the case of derived_events and contexts.a list of configured PiiFields
whether to emit an identification event
the pseudonymization strategy to use