Expand description
Privacy scrubber for raw MTGA log text.
Strips sensitive data (auth tokens, bearer tokens, OS-specific user paths,
session identifiers, display names, email addresses, IP addresses, and
hardware fingerprint lines) from unstructured Player.log text. This is a
best-effort filter; novel token formats may slip through.
Regex patterns are compiled once via std::sync::LazyLock and reused
across all calls.
Structs§
- Scrub
Options - Options controlling which classes of data are redacted by
scrub_raw_log_with.
Functions§
- scrub_
raw_ log - Redact PII and credentials from raw MTGA
Player.logtext. - scrub_
raw_ log_ with - Redact PII and credentials from raw MTGA
Player.logtext with configurable options.