Redaction
Removing or masking secrets and personal details before text is stored or shared.
Redaction means blanking out the sensitive parts of something, such as passwords, API keys or personal details, before it is saved, shown or handed on, while leaving the rest readable. In computer logs it is usually done automatically, with a pattern that finds secrets and swaps them for a placeholder. It has to happen before the text is stored: once a secret is written to a log, anyone who can read the log can read the secret.
See also
- Secret scanning
- Data retention
- Regular expression (regex)
- Exporter (metrics exporter)
- False positive
- Grafana
- Grafana Alloy
- Grafana Loki
Sources
- NIST CSRC Glossary: redactionNISTofficial healthy, checked 2026-11-15 archived copy
- Logging Cheat SheetOWASP healthy, checked 2026-11-15 archived copy
In security catalogues
- CWE-532 Insertion of Sensitive Information into Log FileCWE healthy, checked 2026-11-15 archived copy