SECAI Core · phase 12 of 15 · noun

Log scrubbing

A process that removes, hides, or encrypts confidential data in log files.

The Explain card

Plain English
Log scrubbing removes, hides or encrypts confidential data inside log files so that logs remain useful for debugging and monitoring without becoming a second copy of your secrets.
Example
An AI application logs full prompts and responses for troubleshooting. A scrubbing step replaces API keys, passwords and personal details with placeholder tokens before the logs reach the central logging platform.
Why it matters
Logs are widely readable, long-lived and often shipped to third parties. Unscrubbed AI logs can quietly leak everything users typed, turning an observability tool into a breach.
Hook
Wipe the chalkboard before the next class walks in.

Word knowledge

How the word is built, where it came from, and what it sits beside in memory.

In a sentence

Before forwarding firewall records to a shared SIEM, the security team applies log scrubbing so API tokens never reach the central index.

Why these words
  • log Middle English logge, a bulky piece of wood, later a written record through logbook identifies the records being processed
  • scrubbing Middle English scrubben, to rub hard names the cleansing action and makes the phrase a process noun
Where it came from
Origin
Modern English technical compound formed from log and scrubbing
Entered the language
20th century
What changed
Log moved from a physical object to a nautical record and then a computer record; scrubbing broadened from physical cleaning to systematic processing of data.
How it is spelled
Pattern
The phrase is an open compound written as two words.
Pattern
Scrub doubles its final b before the suffix -ing.

Spelled like

  • data scrubbing
  • memory scrubbing
  • rubbing
  • stopping
Broken into chunks
  • log
    • logbook
    • logging
  • scrub
    • scrubber
    • scrubbed
  • -ing
    • filtering
    • monitoring
What it sits beside

Same subject

Same shape

  • data scrubbing
  • memory scrubbing
  • disk scrubbing

log management processes

  • log scrubbing
  • log rotation
  • log retention

data protection techniques

Where it sits in the deck

Phase 12: Defensive Technologies and Secure Development Practices

Map defences directly to the attacks just catalogued — the technical controls, secure coding practices, and protective tools that harden AI and traditional systems alike.