The modified field trait represents an item that is transformed in either the JSON or a scalar mutators.
Specifies a strategy to use, a field mutator where the JSON can be found in the EnrichedEvent POJO, a schema criterion to discriminate which contexts to apply this strategy to, and a JSON path within the contexts where this strategy will be applied (the path may correspond to multiple fields).
Specifies a strategy to use, a field mutator where the JSON can be found in the EnrichedEvent POJO, a schema criterion to discriminate which contexts to apply this strategy to, and a JSON path within the contexts where this strategy will be applied (the path may correspond to multiple fields).
the field mutator for the JSON field
the schema for which the strategy will be applied
the path where the strategy will be applied
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.
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
or json
. A pojo
field is effectively a scalar field in the
EnrichedEvent, whereas a json
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
Specifies a scalar field in POJO and the strategy that should be applied to it.
Specifies a scalar field in POJO and the strategy that should be applied to it.
the field mutator where the strategy will be applied
PiiStrategy trait.
PiiStrategy trait. This corresponds to a strategy to apply to a single field. Currently only String input is supported.
Implements a pseudonymization strategy using any algorithm known to DigestFunction
Implements a pseudonymization strategy using any algorithm known to DigestFunction
string representation of the function
the DigestFunction to apply
salt added to the plain string before hashing
Companion object.
Companion object. Lets us create a PiiPseudonymizerEnrichment from a JValue.