Skip to content
Latchkey

Log Scrubbing - CI/CD Glossary Definition

Log scrubbing filters sensitive or noisy data out of CI logs before they are stored or forwarded.

Log scrubbing is the practice of filtering CI log output to remove secrets, PII, or noise, whether via the runner's built-in masking or a downstream pipeline that sanitizes logs before shipping them to an aggregator.

Defense in depth

Rely on runner masking as the first layer, but scrub again where logs leave GitHub (log forwarders, incident tooling). Never echo a secret to test masking: if masking misses the transform, the value leaks permanently.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →