- Glossary
- Redaction
Glossary term
Redaction
Removing or masking sensitive data, such as PII or secrets, before it is stored, logged or sent.
Also called redact, redacted.
Open lesson 64.2
Input filtering and classification · Chapter 64, and 3 more lessons below
In plain words
Redact before prompts and logs, and restore values in code if needed.
Taught in
- 64.2Input filtering and classificationChapter 64, Guardrails in depth · main lesson
- 16.3Your first ten test casesChapter 16, Write the eval first
- 16.4How would you test this? A habit for every projectChapter 16, Write the eval first
- 64.8Worked example: hooks, permissions and moderation promptsChapter 64, Guardrails in depth
Also in these lessons
Content moderationJailbreakLLM-as-judgePermission modePostToolUse hook