EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Replace instances of PII with '<REDACTED_$TYPE>' eg. '<REDACTED_EMAIL>' or '<REDACTED_IPv4>'. Currently, it will (on a best effort basis) redact IP addresses, email addresses, MAC addresses, IMEI numbers, credit card numbers, and IBAN numbers. However, the redaction is not perfect, so it should not be used in a context where privacy needs to be guaranteed.
The input string with instances of PII replaced with <REDACTED>.
Variable | Type | Description |
---|---|---|
input_str | STRING | The string to redact PII from. |
df.redacted = px.redact_pii_best_effort(df.req_body)