maxdraco

Redaction

Removing or masking secrets and personal details before text is stored or shared.

Concept Logging and monitoring Security operations

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 Automatically searching code, logs or files for passwords, keys and tokens that should not be there.
  • Data retention How long stored data, such as logs, is kept before it is deleted.
  • Regular expression (regex) A compact pattern language for finding text of a given shape, such as any run of digits.
  • Exporter (metrics exporter) A small program that gathers numbers from a system and publishes them for monitoring to collect.
  • False positive An alarm or match that fires when nothing is actually wrong.
  • Grafana Open-source dashboard tool for graphing, exploring and alerting on metrics and logs.
  • Grafana Alloy Grafana Labs' collector that gathers logs, metrics and traces and sends them to storage like Loki.
  • Grafana Loki A log storage and search system from Grafana Labs that indexes labels, not the full text.

Sources

  1. NIST CSRC Glossary: redactionNISTofficial healthy, checked 2026-11-15 archived copy
  2. Logging Cheat SheetOWASP healthy, checked 2026-11-15 archived copy

In security catalogues