Crate byteor_redaction

Crate byteor_redaction 

Source
Expand description

ByteOr redaction transforms.

Intended for DataGuard: deterministic policy enforcement and redaction steps.

Structs§

Outcome
Result of enforcing a redaction policy.
RedactionPolicy
A deterministic redaction policy.
Rule
One redaction rule.

Enums§

Action
A redaction action for a matching field.
ActionOutcome
Outcome of applying a deterministic redaction action.
EnforcementMode
Enforcement mode for a redaction policy.
HashAlgo
Supported deterministic hash algorithms.
OutcomeCode
Stable enforcement outcome code.
Value
A minimally-typed field value.

Functions§

apply_action
Apply a deterministic action to a value.
apply_action_to_str
Apply a redaction action to a string payload field.
enforce_in_place
Enforce a redaction policy against a record.
parse_action
Parse a stable action string.
parse_mode
Parse a stable enforcement mode string.

Type Aliases§

Record
Structured record type used for deterministic redaction.